Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var App = new(Application)
App ...
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { Config *g2util.Config `inject:""` Logger g2util.LevelLogger `inject:""` Cron *g2util.G2cron `inject:""` G2cache *g2util.G2cache `inject:""` G2resty *g2util.RestyAgent `inject:""` AbFile *g2util.AbFile `inject:""` Graceful *g2util.Graceful `inject:""` Go *g2util.GoPool `inject:""` Gin *g2gin.G2gin `inject:""` G2cmd *g2cmd.G2cmd `inject:""` Mysql *g2db.Mysql `inject:""` Token *g2db.Token `inject:""` // contains filtered or unexported fields }
Application ...
func (*Application) RunDefault ¶ added in v2.0.4
func (a *Application) RunDefault(val interface{})
RunDefault ...
func (*Application) RunServices ¶ added in v2.0.3
func (a *Application) RunServices(val interface{})
RunServices ...
func (*Application) RunWithCmd ¶ added in v2.0.3
func (a *Application) RunWithCmd(fn ...func())
RunWithCmd ...
Click to show internal directories.
Click to hide internal directories.