webhooks

package
v0.0.0-...-29c9779 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeliverLegacyPGPKeyAdded

func DeliverLegacyPGPKeyAdded(ctx context.Context, key *model.PGPKey)

func DeliverLegacyPGPKeyRemoved

func DeliverLegacyPGPKeyRemoved(ctx context.Context, key *model.PGPKey)

func DeliverLegacyProfileUpdate

func DeliverLegacyProfileUpdate(ctx context.Context, user *model.User)

func DeliverLegacySSHKeyAdded

func DeliverLegacySSHKeyAdded(ctx context.Context, key *model.SSHKey)

func DeliverLegacySSHKeyRemoved

func DeliverLegacySSHKeyRemoved(ctx context.Context, key *model.SSHKey)

func DeliverPGPKeyEvent

func DeliverPGPKeyEvent(ctx context.Context,
	event model.WebhookEvent, key *model.PGPKey)

func DeliverProfileUpdate

func DeliverProfileUpdate(ctx context.Context, user *model.User)

func DeliverSSHKeyEvent

func DeliverSSHKeyEvent(ctx context.Context,
	event model.WebhookEvent, key *model.SSHKey)

func LegacyMiddleware

func LegacyMiddleware(
	queue *webhooks.LegacyQueue,
) func(next http.Handler) http.Handler

func Middleware

func Middleware(queue *webhooks.WebhookQueue) func(next http.Handler) http.Handler

func NewLegacyQueue

func NewLegacyQueue() *webhooks.LegacyQueue

Types

This section is empty.

Jump to

Keyboard shortcuts

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