config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2018 License: GPL-3.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetString

func GetString(key string) string

GetString - Wrapper around viper GetString

func NetworkDaemonDefaults

func NetworkDaemonDefaults() map[string]string

NetworkDaemonDefaults - Returns the network daemon's defualt config.

func SetupConfig

func SetupConfig(configName string, defaults map[string]string)

SetupConfig - Sets up, watches, and registers default config

Types

This section is empty.

Jump to

Keyboard shortcuts

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