Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AboutController ¶ added in v0.0.7
type AboutController struct {
markup.RestController `class:"rest-controller"`
AboutService service.AboutService `inject:"#AboutService"`
UpdateService service.CheckUpdateService `inject:"#CheckUpdateService"`
Responder glass.MainResponder `inject:"#glass-main-responder"`
Profile string `inject:"${application.profiles.active}"`
}
AboutController About 控制器
func (*AboutController) Init ¶ added in v0.0.7
func (inst *AboutController) Init(ec glass.EngineConnection) error
Init 初始化
type AuthController ¶
type AuthController struct {
markup.RestController `class:"rest-controller"`
Responder glass.MainResponder `inject:"#glass-main-responder"`
}
AuthController 控制器
func (*AuthController) Init ¶
func (inst *AuthController) Init(ec glass.EngineConnection) error
Init 初始化
type ExampleController ¶
type ExampleController struct {
markup.RestController `class:"rest-controller"`
ExampleService service.ExampleService // `inject:"#ExampleService"`
Responder glass.MainResponder `inject:"#glass-main-responder"`
}
ExampleController Example 控制器
func (*ExampleController) Init ¶
func (inst *ExampleController) Init(ec glass.EngineConnection) error
Init 初始化
type FileQueryController ¶ added in v0.0.7
type FileQueryController struct {
markup.RestController `class:"rest-controller"`
FileQueryService service.FileQueryService `inject:"#FileQueryService"`
Responder glass.MainResponder `inject:"#glass-main-responder"`
}
FileQueryController FileQuery 控制器
func (*FileQueryController) Init ¶ added in v0.0.7
func (inst *FileQueryController) Init(ec glass.EngineConnection) error
Init 初始化
type OnlineDocumentExampleController ¶ added in v0.1.1
type OnlineDocumentExampleController struct {
markup.RestController `class:"rest-controller"`
Responder glass.MainResponder `inject:"#glass-main-responder"`
}
OnlineDocumentExampleController 控制器
func (*OnlineDocumentExampleController) Init ¶ added in v0.1.1
func (inst *OnlineDocumentExampleController) Init(ec glass.EngineConnection) error
Init 初始化
type PlatformController ¶
type PlatformController struct {
markup.RestController `class:"rest-controller"`
PlatformService service.PlatformService `inject:"#PlatformService"`
ProfileService service.ProfileService `inject:"#ProfileService"`
Responder glass.MainResponder `inject:"#glass-main-responder"`
}
PlatformController Platform 控制器
func (*PlatformController) Init ¶
func (inst *PlatformController) Init(ec glass.EngineConnection) error
Init 初始化
type UploadController ¶ added in v0.0.14
type UploadController struct {
markup.RestController `class:"rest-controller"`
FileSystemService service.FileSystemService `inject:"#FileSystemService"`
Responder glass.MainResponder `inject:"#glass-main-responder"`
}
UploadController Upload 控制器
func (*UploadController) Init ¶ added in v0.0.14
func (inst *UploadController) Init(ec glass.EngineConnection) error
Init 初始化
Click to show internal directories.
Click to hide internal directories.