package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jan 28, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
SaveConfigFile stores the configuration on disc
type Config struct {
Endpoint string `yaml:"endpoint"`
Language string `yaml:"language"`
Login []User `yaml:"login"`
}
Config ...
ReadConfigFile reads a configuration file and stores
it into a Config struct
type User struct {
User string `yaml:"user"`
APIKey string `yaml:"apikey"`
Secret string `yaml:"secret"`
}
User ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.