Documentation ¶
Index ¶
- type CaddyWaf
- func (CaddyWaf) CaddyModule() caddy.ModuleInfo
- func (w *CaddyWaf) Provision(ctx caddy.Context) error
- func (w CaddyWaf) ServeHTTP(rw http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
- func (w CaddyWaf) Start() error
- func (w CaddyWaf) Stop() error
- func (w *CaddyWaf) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
- func (w *CaddyWaf) Validate() error
- type RateLimit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaddyWaf ¶
type CaddyWaf struct { ArgsRule []string UserAgentRule []string PostRule []string IpAllowRule []string IpBlockRule []string RateLimitBucket int RateLimitRate float64 // contains filtered or unexported fields }
func (CaddyWaf) CaddyModule ¶
func (CaddyWaf) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*CaddyWaf) UnmarshalCaddyfile ¶
UnmarshalCaddyfile
Click to show internal directories.
Click to hide internal directories.