controller

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandController

type CommandController struct {
	markup.RestController `class:"rest-controller"`

	Service service.CommandService `inject:"#command-service"`
}

CommandController 命令控制器

func (*CommandController) Init

Init 初始化命令控制器

type DBAController

type DBAController struct {
	markup.Component `class:"rest-controller"`

	Service service.DBAService `inject:"#dba-service"`
}

func (*DBAController) Init

func (inst *DBAController) Init(ec glass.EngineConnection) error

type ExampleController

type ExampleController struct {
	markup.RestController `class:"rest-controller"`
}

func (*ExampleController) Init

type FileSystemController

type FileSystemController struct {
	markup.RestController `class:"rest-controller"`
	Service               service.FileSystemService `inject:"#filesystem-service"`
}

FileSystemController 文件系统控制器

func (*FileSystemController) Init

Init 初始化文件系统控制器

type HTTPErrorController

type HTTPErrorController struct {
	markup.RestController `class:"rest-controller"`
}

func (*HTTPErrorController) Init

type HelpAboutController added in v0.0.9

type HelpAboutController struct {
	markup.RestController `class:"rest-controller"`
}

func (*HelpAboutController) Init added in v0.0.9

type ImageController added in v0.0.9

type ImageController struct {
	markup.RestController `class:"rest-controller"`

	Context application.Context `inject:"context"`
}

func (*ImageController) Init added in v0.0.9

type PlansController

type PlansController struct {
	markup.RestController `class:"rest-controller"`
}

PlansController ...

func (*PlansController) Init

Init ...

type RepositoriesController

type RepositoriesController struct {
	markup.RestController `class:"rest-controller"`

	Service service.RepositoryService `inject:"#repository-service"`
}

RepositoriesController 仓库控制器

func (*RepositoriesController) Init

Init 初始化仓库控制器

type SecurityGateController

type SecurityGateController struct {
	markup.Component `class:"rest-controller"`

	Bind string `inject:"${server.bind}"`
}

func (*SecurityGateController) Init

type SystemSettingsController added in v0.0.9

type SystemSettingsController struct {
	markup.RestController `class:"rest-controller"`
}

func (*SystemSettingsController) Init added in v0.0.9

type TasksController

type TasksController struct {
	markup.RestController `class:"rest-controller"`

	Tasks service.TaskService `inject:"#task-service"`
}

TasksController ...

func (*TasksController) Init

Init ...

type UserSettingsController added in v0.0.9

type UserSettingsController struct {
	markup.RestController `class:"rest-controller"`
}

func (*UserSettingsController) Init added in v0.0.9

type UsersController

type UsersController struct {
	markup.RestController `class:"rest-controller"`
}

UsersController ...

func (*UsersController) Init

Init ...

Jump to

Keyboard shortcuts

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