Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Maintenance bool `split_words:"true" default:"false"` LogLevel LevelDecoder `split_words:"true" default:"info"` ConsoleLog bool `split_words:"true" default:"false"` BindAddr string `split_words:"true" default:":7773"` // contains filtered or unexported fields }
func (Config) GetLogLevel ¶
type LevelDecoder ¶
LogLevelDecoder deserializes the log level from a config string.
func (*LevelDecoder) Decode ¶
func (ll *LevelDecoder) Decode(value string) error
Decode implements envconfig.Decoder
Click to show internal directories.
Click to hide internal directories.