Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveDefaultConfig ¶
func SaveDefaultConfig(path string)
Types ¶
type Config ¶
type Config struct { Version string `yaml:"version"` SmdHost string `yaml:"smd-host"` SmdPort int `yaml:"smd-port"` AccessToken string `yaml:"access-token"` TemplatePaths map[string]string `yaml:"templates"` Server Server `yaml:"server"` Options Options `yaml:"options"` }
func LoadConfig ¶
func (*Config) SaveConfig ¶
type EthernetInterface ¶
type SmdClient ¶
func (*SmdClient) FetchEthernetInterfaces ¶
func (client *SmdClient) FetchEthernetInterfaces() ([]EthernetInterface, error)
Click to show internal directories.
Click to hide internal directories.