Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogLevel string AppVersion string HTTPPort int GRPCPort int SwaggerEnabled bool SwaggerPort int SwaggerDir string ShutdownGrace time.Duration }
Config holds application-wide configuration
func LoadConfig ¶
func LoadConfig() *Config
LoadConfig initializes configuration using environment variables and flags
Click to show internal directories.
Click to hide internal directories.