Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Host string `mapstructure:"host" yaml:"host" default:"localhost"`
Port int `mapstructure:"port" yaml:"port" default:"8080"`
EncryptionKey string `mapstructure:"encryption_key" yaml:"encryption_key" default:"_ENCRYPTIONKEY_OF_32_CHARACTERS_"`
APIHeaders api.HeadersConfig `mapstructure:"api_headers" yaml:"api_headers"`
}
Click to show internal directories.
Click to hide internal directories.