package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jul 7, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Bridge struct {
Name string `yaml:"name"`
Pin string `yaml:"pin"`
Port string `yaml:"port"`
StorageDir string `yaml:"storage-dir"`
Manufacturer string `yaml:"manufacturer"`
SerialNumber string `yaml:"serial-number"`
Model string `yaml:"model"`
Firmware string `yaml:"firmware"`
}
type Config struct {
Metric Metrics `yaml:"metrics"`
Bridge `yaml:"bridge"`
Services []Service `yaml:"services"`
}
type Metrics struct {
Address string `yaml:"address"`
}
type Service struct {
Name string `yaml:"name"`
Command []string `yaml:"command,flow"`
Autostart bool `yaml:"autostart"`
Workdir string `yaml:"work-dir"`
Env []string `yaml:"env"`
StopSignal string `yaml:"stop-signal"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.