Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
App = &Application{}
)
Functions ¶
Types ¶
type Application ¶
type Application struct {
Name string `toml:"name"`
Host string `toml:"host"`
Port int `toml:"port"`
Mode string `toml:"mode"`
}
Application config
func (*Application) IsDebug ¶
func (a *Application) IsDebug() bool
func (*Application) IsRelease ¶
func (a *Application) IsRelease() bool
Click to show internal directories.
Click to hide internal directories.