azalertslacknotification

package
v0.1.33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL