config

package
v0.0.0-...-1974f2b Latest Latest
Warning

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

Go to latest
Published: May 22, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() error

func Load

func Load(path string) error

Types

type Config

type Config struct {
	StorePath string
	Db        struct {
		Driver     string
		DataSource string
	}
	Upload struct {
		Provider    string
		Credentials map[string]string
	}
}
var Global *Config

func New

func New(path string) (*Config, error)

func NewDefault

func NewDefault() (*Config, error)

func (*Config) Print

func (c *Config) Print()

Jump to

Keyboard shortcuts

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