Documentation ¶
Index ¶
Constants ¶
View Source
const EnvPrefix = "CLOUD_GAME"
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
LoadConfig loads a configuration file into the given struct. The path param specifies a custom path to the configuration file. Reads and puts environment variables with the prefix CLOUD_GAME_. Params from the config should be in uppercase separated with _.
func LoadConfigEnv ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.