config

package
v0.0.0-...-530d8eb Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAndGetBool

func CheckAndGetBool(v *viper.Viper, key string) bool

CheckAndGetBool handles the error and apply the GetBool viper function

func CheckAndGetString

func CheckAndGetString(v *viper.Viper, key string) string

CheckAndGetString handles the error and apply the GetString viper function

func GetConfig

func GetConfig() *viper.Viper

GetConfig initialize all configuration from file and from environment variable

Types

This section is empty.

Jump to

Keyboard shortcuts

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