package
Version:
v0.0.0-...-ef3bf40
Opens a new window with list of versions in this module.
Published: Jul 27, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AppConfig struct {
Web WebConfig
ShutdownTimeout time.Duration `envconfig:"SHUTDOWN_TIMEOUT" default:"60s"`
}
type WebConfig struct {
Host string `default:"0.0.0.0"`
Port string `default:":8080"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.