config

package
v0.0.0-...-c9c49cf Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const AppEnvDevelopment = "development"
View Source
const AppEnvProduction = "production"
View Source
const AppEnvTest = "test"

Variables

This section is empty.

Functions

func GetAppEnvironment

func GetAppEnvironment() string

func GetConfig

func GetConfig() *viper.Viper

func Init

func Init(env string, configPath *string) error

Init is an exported method that takes the environment starts the viper (external lib) and returns the configuration struct.

Types

This section is empty.

Jump to

Keyboard shortcuts

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