Documentation ¶
Index ¶
- type Client
- type Stat
- type StateSnapshot
- type Thread
- func (t *Thread) Close()
- func (t *Thread) Device() string
- func (t *Thread) Disable()
- func (t *Thread) Enable()
- func (t *Thread) Exec(cb common.ThreadCaller) (resp *common.MessageResponse, err error)
- func (t *Thread) GetCon() interface{}
- func (t *Thread) GetSerial() *serial.Serial
- func (t *Thread) Open() (err error)
- func (t *Thread) Restart()
- func (t *Thread) SetCon(conn interface{})
- func (t *Thread) SetErr()
- func (t *Thread) SetParams(baud, timeout, stopBits int) (err error)
- type Threads
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Stat // contains filtered or unexported fields }
func (*Client) ResponseFunc ¶
func (*Client) SendMessageToThread ¶
func (c *Client) SendMessageToThread(item common.ThreadCaller) (err error)
func (*Client) UpdateThreads ¶
func (c *Client) UpdateThreads()
type StateSnapshot ¶ added in v0.0.9
Click to show internal directories.
Click to hide internal directories.