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 http_service.IHttpContext, next http_service.IChain) (err error)
- func (g *Gzip) Id() string
- func (g *Gzip) Reset(conf interface{}, workers map[eosc.RequireId]interface{}) 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 Gzip ¶
type Gzip struct { *Driver // contains filtered or unexported fields }
func (*Gzip) CheckSkill ¶
func (*Gzip) DoFilter ¶
func (g *Gzip) DoFilter(ctx http_service.IHttpContext, next http_service.IChain) (err error)
Click to show internal directories.
Click to hide internal directories.