Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { DbURL string `env:"GODEVMANAPI_DBURL"` ApiListen string `env:"GODEVMANAPI_LISTEN"` Salt string `env:"GODEVMANAPI_SALT"` }
API configuration sruct
func GetConfig ¶
func GetConfig() (*Configuration, error)
Fills Configuration struct. Prefers environment variables
Click to show internal directories.
Click to hide internal directories.