config

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Auth = &auth{
	Sign: &sign{},
}

Auth returns the collection of the auth config.

View Source
var Cors = &cors{}

Cors returns the collection of the cors config.

View Source
var DB = &db{}

DB returns the collection of the db config.

View Source
var Gateway = &gateway{}

Gateway returns the collection of the gateway config.

View Source
var Mail = &mail{}

Mail returns the collection of the mail config.

View Source
var Server = &server{}

Server returns the collection of the server config.

View Source
var Tracer = &tracer{}

Tracer returns the collection of the tracer config.

Functions

func Development

func Development() bool

Development checks whether the server is running in development environment.

func Env

func Env() string

Env returns current environment.

func Production added in v0.7.0

func Production() bool

Production checks whether the server is running in production environment.

func QA added in v0.7.0

func QA() bool

QA checks whether the server is running in qa environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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