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 Production ¶ added in v0.7.0
func Production() bool
Production checks whether the server is running in production environment.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.