Documentation
¶
Index ¶
Constants ¶
View Source
const MAX_TOPIC_REGISTER = 500
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsIotClient ¶
type AwsIotClient struct {
// contains filtered or unexported fields
}
func NewAwsIotClient ¶
func NewAwsIotClient(cfg AwsIotConfig) *AwsIotClient
func (*AwsIotClient) DisconnectAwsIot ¶
func (c *AwsIotClient) DisconnectAwsIot()
func (*AwsIotClient) PublishTopic ¶
func (c *AwsIotClient) PublishTopic(tn string, payload string)
func (*AwsIotClient) RegisterTopic ¶
func (c *AwsIotClient) RegisterTopic(tn string, tt MqttType, cb AwsIotMsgHandler)
type AwsIotConfig ¶
type AwsIotMsgHandler ¶
type AwsIotMsgHandler func(string)
Click to show internal directories.
Click to hide internal directories.