webhook

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNonSuccessCode = errors.New("non-2xx response code")
)

Functions

This section is empty.

Types

type Dispatcher

type Dispatcher struct {
	// contains filtered or unexported fields
}

func New

func New(buffer int) *Dispatcher

func (*Dispatcher) Create

func (wd *Dispatcher) Create(webhook schema.Webhook) notifications.Notification

func (*Dispatcher) Run

func (wd *Dispatcher) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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