Documentation
¶
Index ¶
Constants ¶
View Source
const MAX_BODY_SIZE = 10 * 1024 * 1024 // 10 MB
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Rules []Rule `json:"rules,omitempty"`
}
Config the plugin configuration.
func CreateConfig ¶
func CreateConfig() *Config
CreateConfig creates the default plugin configuration.
type FilterJsonBody ¶
type FilterJsonBody struct {
// contains filtered or unexported fields
}
FilterJsonBody a FilterJsonBody plugin.
func (*FilterJsonBody) ServeHTTP ¶
func (a *FilterJsonBody) ServeHTTP(rw http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.