intents

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntentHandlerImpl

type IntentHandlerImpl struct {
	markup.Component `id:"IntentHandlerService"`
}

IntentHandlerImpl ...

func (*IntentHandlerImpl) HandleIntent

func (inst *IntentHandlerImpl) HandleIntent(i *dto.Intent) error

HandleIntent ...

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 初始化

type RunIntentServiceImpl

type RunIntentServiceImpl struct {
	markup.Component `id:"IntentService"`

	GitLibAgent store.LibAgent `inject:"#git-lib-agent"`

	IntentFilterManager intents.FilterManager `inject:"#intent-filter-manager"`

	LocalRepositoryService service.LocalRepositoryService `inject:"#LocalRepositoryService"`
	ExecutableService      service.ExecutableService      `inject:"#ExecutableService"`
	IntentHandlerService   service.IntentHandlerService   `inject:"#IntentHandlerService"`
}

RunIntentServiceImpl ...

func (*RunIntentServiceImpl) Run

func (inst *RunIntentServiceImpl) Run(ctx context.Context, o *dto.Intent) (*dto.Intent, error)

Run ...

Jump to

Keyboard shortcuts

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