Documentation ¶
Index ¶
- Constants
- Variables
- 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 Complete
- type Config
- type Param
- type ToDubbo2
- func (p *ToDubbo2) CheckSkill(skill string) bool
- func (p *ToDubbo2) Destroy()
- func (p *ToDubbo2) DoFilter(ctx eocontext.EoContext, next eocontext.IChain) (err error)
- func (p *ToDubbo2) DoHttpFilter(ctx http_context.IHttpContext, next eocontext.IChain) error
- func (p *ToDubbo2) Reset(v interface{}, workers map[eosc.RequireId]eosc.IWorker) error
- func (p *ToDubbo2) Start() error
- func (p *ToDubbo2) Stop() error
Constants ¶
View Source
const (
Name = "http_to_dubbo2"
)
Variables ¶
View Source
var (
ErrorTimeoutComplete = errors.New("complete timeout")
)
Functions ¶
func NewFactory ¶
func NewFactory() eosc.IExtenderDriverFactory
func Register ¶
func Register(register eosc.IExtenderDriverRegister)
Types ¶
type Complete ¶
type Complete struct {
// contains filtered or unexported fields
}
func NewComplete ¶
type ToDubbo2 ¶
type ToDubbo2 struct { drivers.WorkerBase // contains filtered or unexported fields }
func (*ToDubbo2) CheckSkill ¶
func (*ToDubbo2) DoHttpFilter ¶
func (p *ToDubbo2) DoHttpFilter(ctx http_context.IHttpContext, next eocontext.IChain) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.