Documentation ¶
Overview ¶
© 2022 The Sloan Project
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger(level string)
func PrintEnvironment ¶
func PrintEnvironment()
Types ¶
type ServerConfig ¶
type ServerConfig struct { ProxyPort string `env:"PROXY_PORT" envDefault:":8080"` LogLevel string `env:"LOG_LEVEL" envDefault:"TRACE"` }
func LoadConfig ¶
func LoadConfig() *ServerConfig
Click to show internal directories.
Click to hide internal directories.