package
Version:
v0.2.1
Opens a new window with list of versions in this module.
Published: Dec 16, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AppCfg struct {
ServerAddr string `env:"SERVER_ADDR,required"`
}
AppCfg is a configuration for the application.
type Config struct {
Log *cfg.Logger `env:",prefix=LOG_,required"`
App AppCfg `env:",prefix=APP_,required"`
}
Config is a configuration for the service.
NewConfig returns new Config.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.