app

package
v0.8.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 {
	// contains filtered or unexported fields
}

func (*App) CheckSkill

func (a *App) CheckSkill(skill string) bool

func (*App) Destroy

func (a *App) Destroy()

func (*App) DoFilter

func (a *App) DoFilter(ctx eocontext.EoContext, next eocontext.IChain) (err error)

func (*App) DoHttpFilter

func (a *App) DoHttpFilter(ctx http_service.IHttpContext, next eocontext.IChain) error

func (*App) Id

func (a *App) Id() string

func (*App) Reset

func (a *App) Reset(conf interface{}, workers map[eosc.RequireId]eosc.IWorker) error

func (*App) Start

func (a *App) Start() error

func (*App) Stop

func (a *App) Stop() error

type Config

type Config struct {
}

type Driver

type Driver struct {
	// contains filtered or unexported fields
}

func (*Driver) Check

func (d *Driver) Check(v interface{}, workers map[eosc.RequireId]eosc.IWorker) error

func (*Driver) ConfigType

func (d *Driver) ConfigType() reflect.Type

func (*Driver) Create

func (d *Driver) Create(id, name string, v interface{}, workers map[eosc.RequireId]eosc.IWorker) (eosc.IWorker, error)

type Factory

type Factory struct {
}

func NewFactory

func NewFactory() *Factory

func (*Factory) Create

func (f *Factory) Create(profession string, name string, label string, desc string, params map[string]interface{}) (eosc.IExtenderDriver, error)

func (*Factory) Render

func (f *Factory) Render() interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL