config

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 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 added in v0.10.0

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

func GetConfig

func GetConfig() *viper.Viper

func GetEtcdServerAddrs added in v0.5.0

func GetEtcdServerAddrs() []string

func GetOneAnalyzerServiceAddress added in v0.10.0

func GetOneAnalyzerServiceAddress() (common.ServiceAddress, error)

func InitConfig added in v0.4.0

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

func SetDefault added in v0.2.0

func SetDefault(key string, value interface{})

Types

This section is empty.

Source Files

  • config.go

Jump to

Keyboard shortcuts

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