Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Uri string `json:"uri"`
RegexURI []string `json:"regex_uri"`
Method string `json:"method"`
Host string `json:"host"`
Scheme string `json:"scheme"`
Headers Headers `json:"headers"`
UseRealRequestURIUnsafe bool `json:"use_real_request_uri_unsafe"`
// contains filtered or unexported fields
}
type HeaderValues ¶
func (*HeaderValues) UnmarshalJSON ¶
func (h *HeaderValues) UnmarshalJSON(data []byte) error
type Headers ¶
type Headers struct {
Add HeaderValues `json:"add"`
Set HeaderValues `json:"set"`
Remove []string `json:"remove"`
LegacySet HeaderValues `json:"-"`
}
func (*Headers) UnmarshalJSON ¶
type Plugin ¶
type Plugin struct {
base.BasePlugin
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.