Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ApiKey string `yaml:"apiKey"` ApiUrl string `yaml:"apiUrl"` User string `yaml:"user"` Templates struct { Active string `yaml:"active"` Inactive string `yaml:"inactive"` Selected string `yaml:"selected"` Details string `yaml:"details"` } `yaml:"templates"` }
Config represents the structure of the configuration file.
func (*Config) LoadConfig ¶
LoadConfig reads the configuration file and unmarshal the data into the config struct.
Click to show internal directories.
Click to hide internal directories.