Documentation ¶
Index ¶
- Constants
- func Create(id, name string, v *Config, workers map[eosc.RequireId]eosc.IWorker) (eosc.IWorker, error)
- func Register(register eosc.IExtenderDriverRegister)
- type App
- func (a *App) CheckSkill(skill string) bool
- func (a *App) Destroy()
- func (a *App) DoFilter(ctx eocontext.EoContext, next eocontext.IChain) (err error)
- func (a *App) DoHttpFilter(ctx http_service.IHttpContext, next eocontext.IChain) error
- func (a *App) DoWebsocketFilter(ctx http_service.IWebsocketContext, next eocontext.IChain) error
- func (a *App) Reset(conf interface{}, workers map[eosc.RequireId]eosc.IWorker) error
- func (a *App) Start() error
- func (a *App) Stop() error
- type Config
- type Factory
Constants ¶
View Source
const (
Name = "plugin_app"
)
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(register eosc.IExtenderDriverRegister)
Types ¶
type App ¶
type App struct { drivers.WorkerBase // contains filtered or unexported fields }
func (*App) CheckSkill ¶
func (*App) DoHttpFilter ¶
func (a *App) DoHttpFilter(ctx http_service.IHttpContext, next eocontext.IChain) error
func (*App) DoWebsocketFilter ¶ added in v0.9.0
func (a *App) DoWebsocketFilter(ctx http_service.IWebsocketContext, next eocontext.IChain) error
Click to show internal directories.
Click to hide internal directories.