intents

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterManagerImpl added in v0.1.1

type FilterManagerImpl struct {
	markup.Component `id:"wpm-intent-filter-manager"`

	FilterRegistryList []intents.FilterRegistry `inject:".wpm-intent-filter"`
	// contains filtered or unexported fields
}

FilterManagerImpl ...

func (*FilterManagerImpl) Chain added in v0.1.1

func (inst *FilterManagerImpl) Chain() intents.FilterChain

Chain ...

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:"#wpm-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