config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProductionStr  string = "production"
	StagingStr     string = "staging"
	DevelopmentStr string = "development"
)

Variables

View Source
var Db databaseYml
View Source
var Log logYml
View Source
var Oauth oauthYml
View Source
var Push pushYml

Functions

This section is empty.

Types

type Env

type Env uint
const (
	Production Env = 1 << iota
	Staging
	Development
)

func GetEnv

func GetEnv() Env

func (Env) Name

func (env Env) Name() string

Jump to

Keyboard shortcuts

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