config

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2017 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load() (map[string]map[string]interface{}, error)

Load will load confiration file, and initialize a default configuration if no configuration is present. This only returns an error if a configuration file is present, but we are unable to parse it.

func Save

func Save(config map[string]map[string]interface{}) error

Save will save configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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