package
Version:
v0.0.0-...-40d5921
Opens a new window with list of versions in this module.
Published: Jan 19, 2021
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Serial SerialConfig `yaml:"serial"`
MeasurementStorage MeasurementStorageConfig `yaml:"database"`
FakeStorageMode bool `yaml:"fake_storage_mode"`
FakeSensorMode bool `yaml:"fake_sensor_mode"`
BufferFile string `yaml:"buffer_file"`
}
type MeasurementStorageConfig struct {
DbType string `yaml:"type"`
OverrideUrls []string `yaml:"override_url"`
Secret string `yaml:"key"`
ClientId string `yaml:"client_id"`
}
type SerialConfig struct {
Device string `yaml:"device"`
Baud uint `yaml:"baud"`
Bits uint `yaml:"bits"`
StopBits uint `yaml:"stopbits"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.