ini

package
v0.0.0-...-670bf6b Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2017 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig(locations ...string) mconf.Config

NewConfig make sure IniConfig implements mcore.Config

Types

type IniConfig

type IniConfig struct {
	// extends config.Config
	*config.Config
	Locations []string
}

IniConfig use robfig config as default IniConfig implements KeyValueLoader mconf.Config interface.

func NewIniConfig

func NewIniConfig(locations ...string) *IniConfig

NewIniConfig supports more than one location. returns IniConfig, implements mcore.Config

func (IniConfig) LoadKeyValue

func (c IniConfig) LoadKeyValue() mcore.StringKeyValueMap

Jump to

Keyboard shortcuts

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