controller

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 14 Imported by: 0

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

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

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

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

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

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

Init 初始化

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL