controller

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 ExecutableController

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

	ExecutableService service.ExecutableService `inject:"#ExecutableService"`
	Responder         glass.MainResponder       `inject:"#glass-main-responder"`
}

ExecutableController 仓库控制器

func (*ExecutableController) Init

Init 初始化

type ExecutableImportController

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

	ExecutableImportService service.ExecutableImportService `inject:"#ExecutableImportService"`
	Responder               glass.MainResponder             `inject:"#glass-main-responder"`
}

ExecutableImportController 仓库控制器

func (*ExecutableImportController) Init

Init 初始化

type IntentTemplateController

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

	IntentTemplateService service.IntentTemplateService `inject:"#IntentTemplateService"`
	Responder             glass.MainResponder           `inject:"#glass-main-responder"`
}

IntentTemplateController IntentTemplate 控制器

func (*IntentTemplateController) Init

Init 初始化

type LocalRepositoryController

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

	RepoService service.LocalRepositoryService `inject:"#LocalRepositoryService"`
	Responder   glass.MainResponder            `inject:"#glass-main-responder"`
}

LocalRepositoryController 仓库控制器

func (*LocalRepositoryController) Init

Init 初始化

type MediaController

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

	MediaService service.MediaService `inject:"#MediaService"`
	Responder    glass.MainResponder  `inject:"#glass-main-responder"`
}

MediaController Media 控制器

func (*MediaController) Init

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 ProjectController

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

	ProjectService service.ProjectService `inject:"#ProjectService"`
	Responder      glass.MainResponder    `inject:"#glass-main-responder"`
}

ProjectController 仓库控制器

func (*ProjectController) Init

Init 初始化

type ProjectImportController

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

	ProjectImportService service.ProjectImportService `inject:"#ProjectImportService"`
	Responder            glass.MainResponder          `inject:"#glass-main-responder"`
}

ProjectImportController 仓库控制器

func (*ProjectImportController) Init

Init 初始化

type RemoteRepositoryController

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

	RepoService service.RemoteRepositoryService `inject:"#RemoteRepositoryService"`
	Responder   glass.MainResponder             `inject:"#glass-main-responder"`
}

RemoteRepositoryController 仓库控制器

func (*RemoteRepositoryController) Init

Init 初始化

type RepositoryImportController

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

	RepoStateLoader service.LocalRepositoryStateLoader `inject:"#LocalRepositoryStateLoader"`
	ImportService   service.RepositoryImportService    `inject:"#RepositoryImportService"`
	Responder       glass.MainResponder                `inject:"#glass-main-responder"`
}

RepositoryImportController 仓库控制器

func (*RepositoryImportController) Init

Init 初始化

type RunIntentController

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

	IntentService service.IntentService `inject:"#IntentService"`
	Responder     glass.MainResponder   `inject:"#glass-main-responder"`
}

RunIntentController RunIntent 控制器

func (*RunIntentController) Init

Init 初始化

Jump to

Keyboard shortcuts

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