Documentation
¶
Overview ¶
Package config provides global configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config combines different device configs into a single type.
func (*Config) Ensure ¶
func (c *Config) Ensure()
Ensure ensures configurations consistency.
In particular we just pass on the top level debug flag into the nested configs.
func (*Config) ReadFromBox ¶
ReadFromBox reads a configuration from a box container.
At this point we only support YAML formatted files.
func (*Config) ReadFromFile ¶
ReadFromFile reads a configuration from file.
At this point we only support YAML formatted files.
type DDSConfig ¶
type DDSConfig struct { dds.Config `yaml:",inline"` SPI SPIConfig `yaml:"spi"` GPIO GPIOConfig `yaml:"gpio"` }
type GPIOConfig ¶
Click to show internal directories.
Click to hide internal directories.