configparser

package
Version: v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

func GetEA4TXRemoteboxConfig(switchName string) ([]func(*rb.Remotebox), error)

GetEA4TXRemoteboxConfig tries to parse the config file via viper and returns on success an array of functional options.

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.

func GetSmGPIOConfig

func GetSmGPIOConfig(smName string) (smGPIO.SmConfig, error)

GetSmGPIOConfig tries to parse the config file via viper and returns on success a StackmatchGPIO.SmConfig object.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL