strategy

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() *factory

func Register

func Register(register eosc.IExtenderDriverRegister)

Types

type Config

type Config struct {
}

type Strategy

type Strategy struct {
	// contains filtered or unexported fields
}

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) Id

func (s *Strategy) Id() string

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