Documentation ¶
Index ¶
- type Client
- func (c *Client) AddTopic(topic string, hFunc HandFunc)
- func (c *Client) AddTopics(topics map[string]HandFunc)
- func (c *Client) Connect() error
- func (c *Client) ConnectWithAuthentication(username, password string) error
- func (c *Client) Publish(topic string, data []byte) error
- func (c *Client) Request(topic string, data []byte) ([]byte, error)
- func (c *Client) Stop() error
- func (c *Client) Subscribe(topic map[string]HandFunc) error
- type EClient
- type HandFunc
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) ConnectWithAuthentication ¶
Click to show internal directories.
Click to hide internal directories.