Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Input ¶
type Settings ¶
type Settings struct { Broker string `md:"broker,required"` // The broker URL Id string `md:"id,required"` // The id of client Username string `md:"username"` // The user's name Password string `md:"password"` // The user's password Store string `md:"store"` // The store for message persistence KeepAlive int64 `md:"keepAlive"` // Keep Alive CleanSession bool `md:"cleanSession"` // Clean session flag ResponseTimeout int `md:"responseTimeout"` // response timeout (sec) Retain bool `md:"retain"` // Retain Messages Topic string `md:"topic,required"` // The topic to publish to Qos int `md:"qos"` // The Quality of Service SSLConfig map[string]interface{} `md:"sslConfig"` // SSL Configuration }
type TopicMessages ¶
type TopicMessages struct {
// contains filtered or unexported fields
}
func NewTopicMessages ¶
func NewTopicMessages() *TopicMessages
Click to show internal directories.
Click to hide internal directories.