package
Version:
v0.0.0-...-20fe6b4
Opens a new window with list of versions in this module.
Published: Nov 21, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
HTTPServerPort int `envconfig:"HTTP_SERVER_PORT" default:"8080"`
}
Config stores service configuration value
New initializes new config by loading the value from environment variables.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.