Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BacnetDevice ¶
type BacnetDevice struct { Name string `json:"name,omitempty"` Objects []BacnetObject `json:"objects,omitempty"` }
type BacnetObject ¶
type BacnetObject struct { ID config.ObjectID `json:"id"` Properties []config.PropertyID `json:"properties,omitempty"` }
type BacnetSource ¶
type BacnetSource struct { Source COV *config.COV `json:"cov,omitempty"` Devices []BacnetDevice `json:"devices,omitempty"` // PrintTiming when true causes the publishing for this source to print timing statistics to the log each time PrintTiming bool `json:"printTiming,omitempty"` }
type Duplicates ¶
type Duplicates struct { Include bool `json:"include,omitempty"` // Consider floating point values of consecutive publications to be equal if they are within FloatMargin of each other. // 1.2 and 1.22 are within 0.1 FloatMargin of each other and would be classes as duplicates. FloatMargin *float64 `json:"floatMargin,omitempty"` }
func (*Duplicates) Cmp ¶
func (d *Duplicates) Cmp() cmp.Message
func (*Duplicates) TrackDuplicates ¶
func (d *Duplicates) TrackDuplicates() bool
type MQTTBroker ¶
type MQTTBroker struct { Host string `json:"host,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` PasswordFile string `json:"passwordFile,omitempty"` }
func (MQTTBroker) ClientOptions ¶
func (b MQTTBroker) ClientOptions() (*mqtt.ClientOptions, error)
type MqttServiceSource ¶
type RawSource ¶
type RawSource struct { Source Raw json.RawMessage `json:"-"` }
func (*RawSource) UnmarshalJSON ¶
type Root ¶
type Root struct { auto.Config // Broker configures an MQTT broker to export data to. Broker *MQTTBroker `json:"broker,omitempty"` Sources []RawSource `json:"sources,omitempty"` }
type SmartCoreSource ¶
type SmartCoreSource struct {
Source
}
Click to show internal directories.
Click to hide internal directories.