gofigure

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2014 License: MIT Imports: 6 Imported by: 0

README

gofigure

A multi-source configurator for golang applications. Valid configuration sources include environment variables, JSON files, and MongoDB collections.

Acknowledgements

Thanks to kelseyhightower's envconfig for the strategy implemented to deal with different config value types.

License

See LICENSE.md

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Process

func Process(spec interface{}) error

Types

type ParseFailure

type ParseFailure struct {
	Field string
	Type  string
	Value string
}

func (*ParseFailure) Error

func (p *ParseFailure) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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