configloader

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

The configloader package provides YAML-based configuration files, with automatic environment variable overriding.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *configLoader

Types

type ConfigLoader

type ConfigLoader interface {
	//Loads a YAML formated configuration from path into data.
	Load(data interface{}, path string) error
}

ConfigLoader loads configuration.

type DefaultFiller

type DefaultFiller interface {
	FillDefaults() error
}

type Validator added in v0.0.3

type Validator interface {
	Validate() error
}

Jump to

Keyboard shortcuts

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