config

package
v0.0.0-...-3fab846 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoAnalyzerSpecified = errors.New("No analyzer specified in the config file")
)

Functions

func GetAnalyzerServiceAddresses

func GetAnalyzerServiceAddresses() ([]common.ServiceAddress, error)

func GetConfig

func GetConfig() *viper.Viper

func GetEtcdServerAddrs

func GetEtcdServerAddrs() []string

func GetOneAnalyzerServiceAddress

func GetOneAnalyzerServiceAddress() (common.ServiceAddress, error)

func InitConfig

func InitConfig(backend string, paths []string) error

func SetDefault

func SetDefault(key string, value interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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