package
Version:
v0.0.0-...-514de64
Opens a new window with list of versions in this module.
Published: Aug 10, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type HTTP struct {
Host string `env:"CM_HTTP_HOST" envDefault:"localhost"`
Port string `env:"CM_HTTP_PORT" envDefault:"8080"`
ReqDurThreshold time.Duration `env:"CM_HTTP_REQ_DUR_THRESHOLD" envDefault:"5s"`
}
type Log struct {
Level string `env:"CM_LOG_LEVEL" envDefault:"DEBUG"`
EnableJSON bool `env:"CM_LOG_ENABLE_JSON" envDefault:"false"`
}
Log core structure responsible for logging in the application
Source Files
¶
Click to show internal directories.
Click to hide internal directories.