Versions in this module Expand all Collapse all v1 v1.2.2 May 20, 2020 v1.1.0 May 17, 2020 Changes in this version + type EchoPacket struct + func NewEchoPacket(buff []byte, hasLengthField bool, tyc int32) *EchoPacket + func (this *EchoPacket) GetBody() []byte + func (this *EchoPacket) GetLength() uint16 + func (this *EchoPacket) GetType() uint16 + func (this *EchoPacket) Serialize() []byte + type EchoProtocol struct + func (this *EchoProtocol) ReadPacket(conn *net.TCPConn) (gotcp.Packet, error) Incompatible versions in this module v2.1.0+incompatible May 20, 2020