conf

package
v0.0.0-...-7382598 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config struct {
	Server server.Configuration `mapstructure:"server" toml:"server"`
}

Config has exactly the same structure as *.toml file

Functions

func GetServerConfiguration

func GetServerConfiguration() server.Configuration

GetServerConfiguration returns server configuration

func LoadConfiguration

func LoadConfiguration(defaultConfigFile string) error

LoadConfiguration loads configuration from defaultConfigFile, file set in configFileEnvVariableName or from env

Types

This section is empty.

Jump to

Keyboard shortcuts

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