Documentation ¶
Index ¶
- Constants
- Variables
- func Register(register eosc.IExtenderDriverRegister)
- type Config
- type Driver
- type Factory
- type Gzip
- func (g *Gzip) CheckSkill(skill string) bool
- func (g *Gzip) Destroy()
- func (g *Gzip) DoFilter(ctx eocontext.EoContext, next eocontext.IChain) (err error)
- func (g *Gzip) DoHttpFilter(ctx http_service.IHttpContext, next eocontext.IChain) (err error)
- func (g *Gzip) Id() string
- func (g *Gzip) Reset(conf interface{}, workers map[eosc.RequireId]eosc.IWorker) error
- func (g *Gzip) Start() error
- func (g *Gzip) Stop() error
Constants ¶
View Source
const (
Name = "gzip"
)
Variables ¶
View Source
var (
ErrorMinLengthError = errors.New("the min_length field should > 0")
)
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 Gzip ¶
type Gzip struct { *Driver // contains filtered or unexported fields }
func (*Gzip) CheckSkill ¶
func (*Gzip) DoHttpFilter ¶ added in v0.8.0
func (g *Gzip) DoHttpFilter(ctx http_service.IHttpContext, next eocontext.IChain) (err error)
Click to show internal directories.
Click to hide internal directories.