config

package
v0.0.0-...-a266510 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2017 License: BSD-3-Clause, MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfig

func CreateConfig(suppliedConfig Config)

CreateConfig overwrites the current config with whatever is passed in

Types

type Config

type Config map[string]string

Config represents string kvps of application configuration

func GetConfig

func GetConfig() Config

GetConfig returns the config map

func MergeConfig

func MergeConfig(existingConfig Config, suppliedConfig Config) Config

MergeConfig takes a default config and merges a supplied one into it.

func UpdateConfig

func UpdateConfig(suppliedConfig Config) Config

UpdateConfig merges and adds config to the enliven config

Jump to

Keyboard shortcuts

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