Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MQTT ¶
type MQTT struct {
// contains filtered or unexported fields
}
MQTT sends points from the store to a MQTT server.
func (*MQTT) DiagnosticArchive ¶
DiagnosticArchive add to a zipfile useful diagnostic information.
func (*MQTT) PopPoints ¶
func (m *MQTT) PopPoints() []types.MetricPoint
PopPoints returns the list of metrics to be sent.
type Options ¶
type Options struct { Config config.OpenSourceMQTT FQDN string // State kept between reloads. ReloadState types.MQTTReloadState // The store provides the metrics to send to MQTT. Store Store PahoLastPingCheckAt func() time.Time }
Click to show internal directories.
Click to hide internal directories.