Documentation ¶
Index ¶
Constants ¶
View Source
const (
Kind = constant.HTTPProxyRewriteFilter
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { UriRegex []string `yaml:"uri_regex" json:"uri_regex"` Headers map[string]string `yaml:"headers" json:"headers"` }
Config
type Filter ¶
Filter
func (*Filter) Decode ¶
func (f *Filter) Decode(c *contexthttp.HttpContext) filter.FilterStatus
type FilterFactory ¶
type FilterFactory struct {
// contains filtered or unexported fields
}
FilterFactory is http filter instance
func (*FilterFactory) Apply ¶
func (factory *FilterFactory) Apply() error
func (*FilterFactory) Config ¶
func (factory *FilterFactory) Config() interface{}
func (*FilterFactory) PrepareFilterChain ¶
func (factory *FilterFactory) PrepareFilterChain(ctx *contexthttp.HttpContext, chain filter.FilterChain) error
Click to show internal directories.
Click to hide internal directories.