config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 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.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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