Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Env string `koanf:"env"` Storage `koanf:"storage"` HTTPServer `koanf:"http_server"` }
type HTTPServer ¶
type HTTPServer struct { Address string `koanf:"address"` Timeout time.Duration `koanf:"timeout"` IdleTimeout time.Duration `koanf:"idle_timeout"` TemplatesPath string `koanf:"templates_path"` Mode string `koanf:"mode"` User string `koanf:"user"` Password string `koanf:"password" env-required:"true" env:"PC_INFO_PASSWORD"` }
Click to show internal directories.
Click to hide internal directories.