Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfig ¶
func GetConfig() components.ConfigMap[*Config]
Types ¶
type Config ¶
type Config struct { Host string `yaml:"host" json:"host"` Port int `yaml:"port" json:"port"` ConsolePort int `yaml:"console_port" json:"console_port"` AccessKey string `yaml:"access_key" json:"access_key"` SecretKey string `yaml:"secret_key" json:"secret_key"` Secure bool `yaml:"secure" json:"secure"` }
func (*Config) SetDefault ¶
func (c *Config) SetDefault()
Click to show internal directories.
Click to hide internal directories.