Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Kind is the kind of plugin. Kind = constant.HTTPResponseFilter )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Strategy string `json:"strategy,omitempty" yaml:"strategy,omitempty"`
}
Config describe the config of Filter
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
HeaderFilter is http filter instance
func (*Filter) Handle ¶
func (f *Filter) Handle(c *contexthttp.HttpContext)
func (*Filter) PrepareFilterChain ¶
func (f *Filter) PrepareFilterChain(ctx *contexthttp.HttpContext) error
Click to show internal directories.
Click to hide internal directories.