Documentation ¶
Index ¶
- type Client
- func (client *Client) PublishJSON(topic string, val interface{}) error
- func (client *Client) PublishMany(topic string, values map[string]interface{}) error
- func (client *Client) PublishRaw(topic string, val interface{}) error
- func (client *Client) Subscribe(topic string, qos byte, callback MessageHandler) error
- type Message
- type MessageHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { URI *url.URL ClientID string Prefix string // contains filtered or unexported fields }
func (*Client) PublishJSON ¶ added in v0.12.0
func (*Client) PublishMany ¶
func (*Client) PublishRaw ¶ added in v0.12.0
type MessageHandler ¶
Click to show internal directories.
Click to hide internal directories.