Documentation ¶
Index ¶
- Constants
- func ConvertHeaderKey(header string) string
- func Register(register eosc.IExtenderDriverRegister)
- type Config
- type Driver
- type ExtraParam
- type ExtraParams
- func (e *ExtraParams) CheckSkill(skill string) bool
- func (e *ExtraParams) Destroy()
- func (e *ExtraParams) DoFilter(ctx http_service.IHttpContext, next http_service.IChain) error
- func (e *ExtraParams) Id() string
- func (e *ExtraParams) Reset(conf interface{}, workers map[eosc.RequireId]interface{}) error
- func (e *ExtraParams) Start() error
- func (e *ExtraParams) Stop() error
- type Factory
Constants ¶
View Source
const ( FormParamType string = "application/x-www-form-urlencoded" JsonType string = "application/json" )
View Source
const (
Name = "extra_params"
)
Variables ¶
This section is empty.
Functions ¶
func ConvertHeaderKey ¶
func Register ¶
func Register(register eosc.IExtenderDriverRegister)
Types ¶
type Config ¶
type Config struct { Params []*ExtraParam `json:"params" label:"参数列表"` ErrorType string `json:"error_type" enum:"text,json" label:"报错输出格式" ` }
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) ConfigType ¶
type ExtraParam ¶
type ExtraParams ¶
type ExtraParams struct { *Driver // contains filtered or unexported fields }
func (*ExtraParams) CheckSkill ¶
func (e *ExtraParams) CheckSkill(skill string) bool
func (*ExtraParams) Destroy ¶
func (e *ExtraParams) Destroy()
func (*ExtraParams) DoFilter ¶
func (e *ExtraParams) DoFilter(ctx http_service.IHttpContext, next http_service.IChain) error
func (*ExtraParams) Id ¶
func (e *ExtraParams) Id() string
func (*ExtraParams) Reset ¶
func (e *ExtraParams) Reset(conf interface{}, workers map[eosc.RequireId]interface{}) error
func (*ExtraParams) Start ¶
func (e *ExtraParams) Start() error
func (*ExtraParams) Stop ¶
func (e *ExtraParams) Stop() error
Click to show internal directories.
Click to hide internal directories.