config

package
v0.0.0-...-1f2aa69 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func GetManager

func GetManager(ctx context.Context) *Manager

func (*Manager) AddConfigFile

func (m *Manager) AddConfigFile(path string, parseType ParseType) error

func (*Manager) Get

func (m *Manager) Get(key string) string

type ParseType

type ParseType int
const (
	SingleValueFile ParseType = iota
	PropertiesFile
)

Jump to

Keyboard shortcuts

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