Documentation
¶
Index ¶
- type CaddyWAF
- func (CaddyWAF) CaddyModule() caddy.ModuleInfo
- func (m *CaddyWAF) Provision(ctx caddy.Context) error
- func (m CaddyWAF) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
- func (m CaddyWAF) Start() error
- func (m CaddyWAF) Stop() error
- func (m *CaddyWAF) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
- func (m *CaddyWAF) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaddyWAF ¶
type CaddyWAF struct {
WafEngineAddr string `json:"waf_engine_addr,omitempty"` // WAF Engine address
PoolSize int `json:"pool_size,omitempty"` // Pool size
// contains filtered or unexported fields
}
CaddyWAF implements an HTTP handler for WAF.
func (CaddyWAF) CaddyModule ¶
func (CaddyWAF) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*CaddyWAF) UnmarshalCaddyfile ¶
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.