github

package
v0.0.0-...-5aa9921 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Webhook

type Webhook struct {
	// Insecure allows for the option of an empty Secret
	Insecure bool   `json:"insecure,omitempty"`
	Secret   string `json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (Webhook) CaddyModule

func (Webhook) CaddyModule() caddy.ModuleInfo

func (*Webhook) Provision

func (h *Webhook) Provision(ctx caddy.Context) error

func (Webhook) ServeHTTP

func (h Webhook) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error

func (Webhook) UnmarshalCaddyfile

func (h Webhook) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

func (Webhook) Validate

func (h Webhook) Validate() error

Jump to

Keyboard shortcuts

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