Documentation
¶
Index ¶
- type AzAlertSlackNotif
- func (AzAlertSlackNotif) CaddyModule() caddy.ModuleInfo
- func (p *AzAlertSlackNotif) Provision(ctx caddy.Context) error
- func (p AzAlertSlackNotif) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
- func (m *AzAlertSlackNotif) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
- func (p *AzAlertSlackNotif) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzAlertSlackNotif ¶
type AzAlertSlackNotif struct { Prefix string `json:"prefix,omitempty"` // contains filtered or unexported fields }
of the URI matches a given prefix.
func (AzAlertSlackNotif) CaddyModule ¶
func (AzAlertSlackNotif) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*AzAlertSlackNotif) Provision ¶
func (p *AzAlertSlackNotif) Provision(ctx caddy.Context) error
Provision a Zap logger to AzAlertSlackNotif.
func (AzAlertSlackNotif) ServeHTTP ¶
func (p AzAlertSlackNotif) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
ServeHTTP implements the caddyhttp.MiddlewareHandler interface.
func (*AzAlertSlackNotif) UnmarshalCaddyfile ¶ added in v0.1.3
func (m *AzAlertSlackNotif) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
func (*AzAlertSlackNotif) Validate ¶
func (p *AzAlertSlackNotif) Validate() error
Validate the prefix from the module's configuration, setting the default prefix "." if necessary.
Click to show internal directories.
Click to hide internal directories.