Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MQTTClient ¶
type MQTTClient struct {
// contains filtered or unexported fields
}
func NewMQTTClient ¶
func NewMQTTClient(config types.MQTTConfig) *MQTTClient
func (*MQTTClient) Close ¶
func (client *MQTTClient) Close() (err error)
func (*MQTTClient) Connect ¶
func (client *MQTTClient) Connect() error
func (*MQTTClient) Produce ¶ added in v0.0.5
func (client *MQTTClient) Produce(message []byte) (err error)
func (*MQTTClient) Subscribe ¶
func (client *MQTTClient) Subscribe(handler func(message []byte))
Click to show internal directories.
Click to hide internal directories.