Versions in this module Expand all Collapse all v0 v0.3.0 Oct 30, 2017 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