config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2016 License: Apache-2.0 Imports: 4 Imported by: 28

Documentation

Overview

Package config provides the configuration registry (based on spf13/viper)

For further information, please look at the source of New().

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*viper.Viper
}

func New

func New() Config

The source of this function contains the name of the parameters and the default values.

func NewFromFile

func NewFromFile(filePath string) (Config, error)

func NewFromString

func NewFromString(s string, typ string) (Config, error)

func (Config) String

func (cfg Config) String() string

Jump to

Keyboard shortcuts

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