Documentation ¶
Index ¶
- Constants
- func Create(id, name string, cfg *Config, workers map[eosc.RequireId]eosc.IWorker) (eosc.IWorker, error)
- func NewFactory() eosc.IExtenderDriverFactory
- func Register(register eosc.IExtenderDriverRegister)
- type Config
- type Strategy
- func (s *Strategy) CheckSkill(skill string) bool
- func (s *Strategy) Destroy()
- func (s *Strategy) DoFilter(ctx eoscContext.EoContext, next eoscContext.IChain) (err error)
- func (s *Strategy) Reset(conf interface{}, workers map[eosc.RequireId]eosc.IWorker) error
- func (s *Strategy) Start() error
- func (s *Strategy) Stop() error
Constants ¶
View Source
const (
Name = "strategy-plugin-fuse"
)
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() eosc.IExtenderDriverFactory
func Register ¶
func Register(register eosc.IExtenderDriverRegister)
Types ¶
type Strategy ¶
type Strategy struct { drivers.WorkerBase // contains filtered or unexported fields }
func (*Strategy) CheckSkill ¶
func (*Strategy) DoFilter ¶
func (s *Strategy) DoFilter(ctx eoscContext.EoContext, next eoscContext.IChain) (err error)
Click to show internal directories.
Click to hide internal directories.