Documentation
¶
Index ¶
- func GetDummySwitchConfig(switchName string) (ds.SwitchConfig, error)
- func GetEA4TXRemoteboxConfig(switchName string) ([]func(*rb.Remotebox), error)
- func GetIP9258Config(switchName string) ([]func(*ip9258.IP9258), error)
- func GetMPGPIOSwitchConfig(switchName string) (mpGPIO.SwitchConfig, error)
- func GetSmGPIOConfig(smName string) (smGPIO.SmConfig, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDummySwitchConfig ¶
func GetDummySwitchConfig(switchName string) (ds.SwitchConfig, error)
GetDummySwitchConfig tries to parse the config file via viper and returns on success a dummySwitch.SwitchConfig object.
func GetEA4TXRemoteboxConfig ¶
GetEA4TXRemoteboxConfig tries to parse the config file via viper and returns on success an array of functional options.
func GetIP9258Config ¶ added in v0.3.0
GetIP9258Config tries to parse the config file via viper and returns on success a ip9258.SwitchConfig object.
func GetMPGPIOSwitchConfig ¶
func GetMPGPIOSwitchConfig(switchName string) (mpGPIO.SwitchConfig, error)
GetMPGPIOSwitchConfig tries to parse the config file via viper and returns on success a mpGPIO.SwitchConfig object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.