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 BodyCheck
- func (b *BodyCheck) CheckSkill(skill string) bool
- func (b *BodyCheck) Destroy()
- func (b *BodyCheck) DoFilter(ctx eocontext.EoContext, next eocontext.IChain) (err error)
- func (b *BodyCheck) DoHttpFilter(ctx http_service.IHttpContext, next eocontext.IChain) error
- func (b *BodyCheck) Reset(conf interface{}, workers map[eosc.RequireId]eosc.IWorker) error
- func (b *BodyCheck) Start() error
- func (b *BodyCheck) Stop() error
- type Config
Constants ¶
View Source
const (
Name = "body_check"
)
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() eosc.IExtenderDriverFactory
func Register ¶
func Register(register eosc.IExtenderDriverRegister)
Types ¶
type BodyCheck ¶
type BodyCheck struct { drivers.WorkerBase // contains filtered or unexported fields }
func (*BodyCheck) CheckSkill ¶
func (*BodyCheck) DoHttpFilter ¶
func (b *BodyCheck) DoHttpFilter(ctx http_service.IHttpContext, next eocontext.IChain) error
Click to show internal directories.
Click to hide internal directories.