Searched refs:packetAdaptor (Results 1 – 2 of 2) sorted by relevance
29 type packetAdaptor struct { struct36 func newPacketAdaptor(conn net.Conn) *packetAdaptor {37 return &packetAdaptor{conn}40 func (p *packetAdaptor) readOpcode() (byte, error) { argument48 func (p *packetAdaptor) readPacketBody() ([]byte, error) { argument60 func (p *packetAdaptor) Read(b []byte) (int, error) { argument75 func (p *packetAdaptor) Write(b []byte) (int, error) { argument89 func (p *packetAdaptor) SendReadTimeout(d time.Duration) ([][]byte, error) { argument
642 PacketAdaptor *packetAdaptor