package
Version:
v2.0.0-...-eaed07a
Opens a new window with list of versions in this module.
Published: Oct 8, 2023
License: Apache-2.0
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 Config struct {
Env string `koanf:"env"`
LogsLevel uint8 `koanf:"logs_level"`
HTTPServer `koanf:"http_server"`
}
type HTTPServer struct {
Address string `koanf:"address"`
Timeout time.Duration `koanf:"timeout"`
IdleTimeout time.Duration `koanf:"idle_timeout"`
Mode string `koanf:"mode"`
TemplatesPath string `koanf:"templates_path"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.