Documentation ¶
Index ¶
- Constants
- func Create(id, name string, conf *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-visit"
)
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
}
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.