Documentation ¶
Index ¶
- Constants
- func Register(register eosc.IExtenderDriverRegister)
- type Config
- type Driver
- type Factory
- type ProxyRewrite
- func (p *ProxyRewrite) CheckSkill(skill string) bool
- func (p *ProxyRewrite) Destroy()
- func (p *ProxyRewrite) DoFilter(ctx eocontext.EoContext, next eocontext.IChain) (err error)
- func (p *ProxyRewrite) DoHttpFilter(ctx http_service.IHttpContext, next eocontext.IChain) (err error)
- func (p *ProxyRewrite) Id() string
- func (p *ProxyRewrite) Reset(v interface{}, workers map[eosc.RequireId]eosc.IWorker) error
- func (p *ProxyRewrite) Start() error
- func (p *ProxyRewrite) Stop() error
Constants ¶
View Source
const (
Name = "proxy_rewrite"
)
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(register eosc.IExtenderDriverRegister)
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) ConfigType ¶
type Factory ¶
type Factory struct { }
func NewFactory ¶
func NewFactory() *Factory
type ProxyRewrite ¶
type ProxyRewrite struct { *Driver // contains filtered or unexported fields }
func (*ProxyRewrite) CheckSkill ¶
func (p *ProxyRewrite) CheckSkill(skill string) bool
func (*ProxyRewrite) Destroy ¶
func (p *ProxyRewrite) Destroy()
func (*ProxyRewrite) DoHttpFilter ¶ added in v0.8.0
func (p *ProxyRewrite) DoHttpFilter(ctx http_service.IHttpContext, next eocontext.IChain) (err error)
func (*ProxyRewrite) Id ¶
func (p *ProxyRewrite) Id() string
func (*ProxyRewrite) Start ¶
func (p *ProxyRewrite) Start() error
func (*ProxyRewrite) Stop ¶
func (p *ProxyRewrite) Stop() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.