webhooks

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package webhooks manages company-scoped subscriptions and a durable signed delivery queue (FLA-104).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Signature

func Signature(secret, timestamp string, body []byte) string

Signature authenticates the exact transmitted bytes; timestamp is refreshed for each attempt.

Types

type System

type System struct {
	Config *ConfigBuilder.Config
	Client *http.Client
}

func New

func New(cfg *ConfigBuilder.Config) *System

func (*System) Create

func (s *System) Create(w http.ResponseWriter, r *http.Request)

func (*System) Delete

func (s *System) Delete(w http.ResponseWriter, r *http.Request)

func (*System) Deliveries

func (s *System) Deliveries(w http.ResponseWriter, r *http.Request)

func (*System) List

func (s *System) List(w http.ResponseWriter, r *http.Request)

func (*System) Retry

func (s *System) Retry(w http.ResponseWriter, r *http.Request)

func (*System) Run

func (s *System) Run(ctx context.Context)

Run resumes committed deliveries after a restart. Leases and SKIP LOCKED coordinate API replicas.

func (*System) Update

func (s *System) Update(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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