Documentation
¶
Index ¶
- type Client
- func (c *Client) GetStats() map[string]int64
- func (c *Client) Publish(v model.Value)
- func (c *Client) PublishDeviceLifecycle(event string, device model.Device)
- func (c *Client) PublishDeviceStatus(deviceID string, status int)
- func (c *Client) Send(payload []byte) error
- func (c *Client) Start()
- func (c *Client) Stop()
- func (c *Client) UpdateConfig(cfg model.HTTPConfig)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) PublishDeviceLifecycle ¶
func (*Client) PublishDeviceStatus ¶
func (*Client) UpdateConfig ¶
func (c *Client) UpdateConfig(cfg model.HTTPConfig)
Click to show internal directories.
Click to hide internal directories.