Versions in this module Expand all Collapse all v0 v0.1.5 Nov 26, 2021 v0.1.4 Nov 25, 2021 Changes in this version + var DefaultCapabilities = []string + type HelloMessage struct + Capabilities []string + SessionID int + XMLName xml.Name + type ReadWriteCloser struct + func NewReadWriteCloser(r io.Reader, w io.WriteCloser) *ReadWriteCloser + type Transport interface + Close func() error + Receive func() ([]byte, error) + ReceiveHello func() (*HelloMessage, error) + Send func([]byte) error + SendHello func(*HelloMessage) error + type TransportBasicIO struct + func (t *TransportBasicIO) Close() error + func (t *TransportBasicIO) Receive() ([]byte, error) + func (t *TransportBasicIO) ReceiveHello() (*HelloMessage, error) + func (t *TransportBasicIO) Send(data []byte) error + func (t *TransportBasicIO) SendHello(hello *HelloMessage) error + func (t *TransportBasicIO) WaitForBytes(b []byte) ([]byte, error) + func (t *TransportBasicIO) WaitForFunc(f func([]byte) (int, error)) ([]byte, error) + func (t *TransportBasicIO) WaitForRegexp(re *regexp.Regexp) ([]byte, [][]byte, error) + func (t *TransportBasicIO) WaitForString(s string) (string, error) + func (t *TransportBasicIO) Writeln(b []byte) (int, error)