Documentation ¶
Index ¶
Constants ¶
View Source
const (
ConnectTimeout = time.Second * 60
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MQTTClient ¶
type MQTTClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *MQTTConfig) (*MQTTClient, error)
func (*MQTTClient) Close ¶ added in v0.1.2
func (c *MQTTClient) Close() error
func (*MQTTClient) PostImageURL ¶
func (c *MQTTClient) PostImageURL(url string) error
func (*MQTTClient) RefreshUpdateTime ¶
func (c *MQTTClient) RefreshUpdateTime(tillNextUpdate int) error
type MQTTConfig ¶
Click to show internal directories.
Click to hide internal directories.