Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Address where HTTP server bind to to run ServerAddr string `envconfig:"SERVER_ADDRESS" default:"127.0.0.1:10000"` }
Config contains configurations to spins up the HTTP server.
func LoadEnvConfig ¶
func LoadEnvConfig() *Config
LoadEnvConfig returns a Config object populated from environment variables.
Click to show internal directories.
Click to hide internal directories.