Versions in this module Expand all Collapse all v0 v0.1.1 Mar 11, 2024 v0.1.0 Mar 11, 2024 Changes in this version + type Client struct + Queue int + func Dial(address, username, password string) (*Client, error) + func DialTLS(address, username, password string, tlsConfig *tls.Config) (*Client, error) + func NewClient(rwc io.ReadWriteCloser) (*Client, error) + func (c *Client) Async() <-chan error + func (c *Client) Close() + func (c *Client) Listen(sentence ...string) (*ListenReply, error) + func (c *Client) ListenArgs(sentence []string) (*ListenReply, error) + func (c *Client) ListenArgsQueue(sentence []string, queueSize int) (*ListenReply, error) + func (c *Client) Login(username, password string) error + func (c *Client) Run(sentence ...string) (*Reply, error) + func (c *Client) RunArgs(sentence []string) (*Reply, error) + type DeviceError struct + Sentence *proto.Sentence + func (err *DeviceError) Error() string + type ListenReply struct + Done *proto.Sentence + func (a *ListenReply) Err() error + func (l *ListenReply) Cancel() (*Reply, error) + func (l *ListenReply) Chan() <-chan *proto.Sentence + type Reply struct + Done *proto.Sentence + Re []*proto.Sentence + func (r *Reply) String() string + type UnknownReplyError struct + Sentence *proto.Sentence + func (err *UnknownReplyError) Error() string