Versions in this module Expand all Collapse all v0 v0.1.6 Nov 13, 2026 Changes in this version + const ContentType + const MaxFailures + const SecretPrefix + var ErrNotFound = errors.New("no webhook by that name") + func CheckURL(rawURL string, allowPrivate bool) error + func Client(allowPrivate bool) *http.Client + func File(p paths.Paths) string + func Remove(p paths.Paths, name string) error + func SetDisabled(p paths.Paths, name string, off bool) error + func Sign(secret, id string, ts int64, body []byte) (string, error) + func Test(ctx context.Context, p paths.Paths, client *http.Client, name string, ...) (int, error) + func Verify(secret, id, tsHeader, sigHeader string, body []byte, now time.Time, ...) bool + type Endpoint struct + Created time.Time + Cursor string + Disabled bool + DisabledWhy string + Events []string + Failures int + LastError string + LastStatus int + LastSuccess time.Time + Name string + NextAttempt time.Time + Secret string + URL string + func Add(p paths.Paths, name, rawURL string, events []string, allowPrivate bool, ...) (Endpoint, error) + func List(p paths.Paths) ([]Endpoint, error) + type Result struct + Disabled bool + Err error + Name string + Postponed bool + Sent int + func Deliver(ctx context.Context, p paths.Paths, client *http.Client, now time.Time) ([]Result, error)