Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `env:"APP_NAME" env-required:"true" env-description:"app name"` Version string `env:"APP_VERSION" env-required:"true" env-description:"app version"` Debug bool `env:"APP_DEBUG" env-description:"debugging app"` UserConfigPath string LogsPath string StorageDir string MessageClearAfterSeconds int }
func NewDefaultConfig ¶ added in v0.2.0
func NewDefaultConfig() Config
Click to show internal directories.
Click to hide internal directories.