Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func New ¶
func New(param *param.Application) (application *Application)
func (*Application) Dependency ¶
func (a *Application) Dependency() *builder.Dependency
type Bootstrap ¶ added in v0.3.8
type Bootstrap interface { app.Lifecycle // Startup 启动 Startup(app *Application) error }
Bootstrap 启动器,全局只能有一个启动器,且只能返回 Bootstrap 才能被正确的启动
Click to show internal directories.
Click to hide internal directories.