Documentation
¶
Index ¶
- Constants
- type AzAlertSlackNotif
- func (AzAlertSlackNotif) CaddyModule() caddy.ModuleInfo
- func (an *AzAlertSlackNotif) Provision(ctx caddy.Context) error
- func (an AzAlertSlackNotif) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
- func (m *AzAlertSlackNotif) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
- func (an *AzAlertSlackNotif) Validate() error
Constants ¶
View Source
const ( ErrorNilReqBody = "nil request or body" ErrorParseMediaType = "couldn't parse media type" ErrorUnsupportedMediaType = "unsupported media type" ErrorGetBody = "couldn't get body" ErrorParseBody = "couldn't parse body" ErrorUnsupportedSchemaId = "unsupported schema id" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzAlertSlackNotif ¶
type AzAlertSlackNotif struct {
// 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 (an *AzAlertSlackNotif) Provision(ctx caddy.Context) error
Provision a Zap logger to AzAlertSlackNotif.
func (AzAlertSlackNotif) ServeHTTP ¶
func (an AzAlertSlackNotif) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error
ServeHTTP implements the caddyhttp.MiddlewareHandler interface.
func (*AzAlertSlackNotif) UnmarshalCaddyfile ¶
func (m *AzAlertSlackNotif) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
func (*AzAlertSlackNotif) Validate ¶ added in v0.1.30
func (an *AzAlertSlackNotif) Validate() error
Click to show internal directories.
Click to hide internal directories.