Documentation ¶
Index ¶
- Constants
- func NewFactory() *factory
- 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) Id() string
- 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"
)
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() *factory
func Register ¶
func Register(register eosc.IExtenderDriverRegister)
Types ¶
type Strategy ¶
type Strategy struct {
// 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.