Versions in this module Expand all Collapse all v0 v0.4.0 Dec 10, 2018 Changes in this version + const Data + const Handshake + const HandshakeAck + const Heartbeat + const Kick + var ErrWrongPacketType = errors.New("wrong packet type") + type Packet struct + Data []byte + Length int + Type Type + func New() *Packet + func (p *Packet) String() string + type Type byte