config

package
v0.0.0-...-a7a3610 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Loaded = false
)

Functions

func Load

func Load()

Load will initiate the loading of the configuration file for use by the application. Reading settings from the config file into the configuration manager.

func RegisterDefaults

func RegisterDefaults()

RegisterDefaults will load the defualt values in for the keys into Viper.

func Setup

func Setup(rootCmd *cobra.Command)

Setup configures Viper and prepares all the default settings. Setting up the configuration to load from the environment and from flags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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