visit

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "strategy-plugin-visit"
)

Variables

This section is empty.

Functions

func Create

func Create(id, name string, conf *Config, workers map[eosc.RequireId]eosc.IWorker) (eosc.IWorker, error)

func NewFactory

func NewFactory() eosc.IExtenderDriverFactory

func Register

func Register(register eosc.IExtenderDriverRegister)

Types

type Config

type Config struct {
}

type Strategy

type Strategy struct {
	drivers.WorkerBase
}

func (*Strategy) CheckSkill

func (s *Strategy) CheckSkill(skill string) bool

func (*Strategy) Destroy

func (s *Strategy) Destroy()

func (*Strategy) DoFilter

func (s *Strategy) DoFilter(ctx eoscContext.EoContext, next eoscContext.IChain) (err error)

func (*Strategy) Reset

func (s *Strategy) Reset(conf interface{}, workers map[eosc.RequireId]eosc.IWorker) error

func (*Strategy) Start

func (s *Strategy) Start() error

func (*Strategy) Stop

func (s *Strategy) Stop() error

Jump to

Keyboard shortcuts

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