Documentation ¶
Overview ¶
Package proto .
Index ¶
Constants ¶
View Source
const ( // OpRequest . OpRequest uint16 = iota + 1 // OpResponse . OpResponse )
View Source
const ( // Ver1 . Ver1 uint16 = 1 // Ver2 . Ver2 = 2 )
Variables ¶
View Source
var ( // ErrProtoHeaderLen . ErrProtoHeaderLen = errors.New("not matched proto header len") // ErrEmptyReader . ErrEmptyReader = errors.New("empty reader") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.