config

package
v2.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig added in v2.4.0

func LoadConfig(config interface{}, path string) error

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 _.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL