webhook

package
v1.29.4 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package webhook will optionally call a preconfigured endpoint

Index

Constants

This section is empty.

Variables

View Source
var (
	// RateLimit is the minimum number of seconds between requests.
	// Additional requests within this period will be ignored until
	// the time has elapsed.
	RateLimit = 1

	// Delay is the number of seconds to wait before sending each webhook request
	// This can allow for other processing to complete before the webhook is triggered.
	Delay = 0
)

Functions

func Send

func Send(msg any)

Send will post the MessageSummary to a webhook (if configured)

Types

This section is empty.

Jump to

Keyboard shortcuts

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