Documentation ¶
Index ¶
- Constants
- func GetInstance() *configuration
- type Raw
- func (c Raw) Bool(key string) bool
- func (c Raw) Bytes(key string) uint64
- func (c Raw) Has(key string) bool
- func (c Raw) Int64(key string) int64
- func (c Raw) String(key string) string
- func (c Raw) StringSlice(key string) []string
- func (c Raw) Sub(key string) Raw
- func (c Raw) Uint64(key string) uint64
Constants ¶
View Source
const ( CfgFileName = "config.yaml" PathLocal = "." PathGlobal = "/etc/silencer" )
Variables ¶
This section is empty.
Functions ¶
func GetInstance ¶
func GetInstance() *configuration
Types ¶
Click to show internal directories.
Click to hide internal directories.