config

package
v0.0.0-...-ef8ae41 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2017 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() apid.ConfigService

Types

type ConfigMgr

type ConfigMgr struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*ConfigMgr) Get

func (c *ConfigMgr) Get(key string) interface{}

func (*ConfigMgr) GetBool

func (c *ConfigMgr) GetBool(key string) bool

func (*ConfigMgr) GetDuration

func (c *ConfigMgr) GetDuration(key string) time.Duration

func (*ConfigMgr) GetFloat64

func (c *ConfigMgr) GetFloat64(key string) float64

func (*ConfigMgr) GetInt

func (c *ConfigMgr) GetInt(key string) int

func (*ConfigMgr) GetString

func (c *ConfigMgr) GetString(key string) string

func (*ConfigMgr) IsSet

func (c *ConfigMgr) IsSet(key string) bool

func (*ConfigMgr) Set

func (c *ConfigMgr) Set(key string, value interface{})

func (*ConfigMgr) SetDefault

func (c *ConfigMgr) SetDefault(key string, value interface{})

Jump to

Keyboard shortcuts

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