Commit f8b2b44f authored by AlexStocks's avatar AlexStocks

Mod: GettyErrorCode -> ErrorCode

parents 06480427 0772b3e6
...@@ -45,10 +45,10 @@ func (c gettyCommand) String() string { ...@@ -45,10 +45,10 @@ func (c gettyCommand) String() string {
// getty error code // getty error code
//////////////////////////////////////////// ////////////////////////////////////////////
type GettyErrorCode int16 type ErrorCode int16
const ( const (
GettyOK GettyErrorCode = 0x00 GettyOK ErrorCode = 0x00
GettyFail = 0x01 GettyFail = 0x01
) )
...@@ -208,9 +208,9 @@ type GettyPackageHeader struct { ...@@ -208,9 +208,9 @@ type GettyPackageHeader struct {
Sequence SequenceType // request/response sequence Sequence SequenceType // request/response sequence
LogID LogIDType // log id LogID LogIDType // log id
Code GettyErrorCode // error code Code ErrorCode // error code
CodecType CodecType CodecType CodecType // codec type
PkgLen PkgLenType PkgLen PkgLenType // package body length
} }
type GettyPackage struct { type GettyPackage struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment