config

package
v0.0.0-...-5230f1d Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAttribute

func GetAttribute(loader string, attributes map[string]string, name string) (string, error)

GetAttribute TODO

func JSONFile

func JSONFile(attributes map[string]string) (map[string]interface{}, error)

JSONFile TODO

func JSONString

func JSONString(attributes map[string]string) (map[string]interface{}, error)

JSONString TODO

Types

type Config

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

Config TODO

func NewConfig

func NewConfig() *Config

NewConfig TODO

func (*Config) AddLoader

func (c *Config) AddLoader(name string, fn loadingFn)

AddLoader TODO

func (*Config) Load

func (c *Config) Load(cfg string) (map[string]interface{}, error)

Load TODO

Jump to

Keyboard shortcuts

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