Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZPack ¶
type ZPack struct{}
func (*ZPack) GetHeadLen ¶
type ZipperPack ¶
type ZipperPack interface { // GetHeadLen get the length of the packet header information, fixed to 4 GetHeadLen() uint16 // Pack packing method Pack(m message.ZipperMessage) ([]byte, error) // UnPack unpacking method UnPack(d []byte) (message.ZipperMessage, error) }
ZipperPack TCP data unpacking abstraction layer
func NewZPack ¶
func NewZPack() ZipperPack
Click to show internal directories.
Click to hide internal directories.