webhook

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookApp

type WebhookApp struct {
	Config              config.Config
	Logger              zerolog.Logger
	WebhookPers         domain.WebhookPers
	WebhookDeliveryPers domain.WebhookDeliveryPers
}

func NewWebhookApp

func NewWebhookApp(config config.Config, logger zerolog.Logger, webhookPers domain.WebhookPers, webhookDeliveryPers domain.WebhookDeliveryPers) *WebhookApp

func (*WebhookApp) CreateWebhook

func (app *WebhookApp) CreateWebhook(input dto.CreateWebhookInput) (*dto.CreateWebhookOutput, error)

func (*WebhookApp) DeleteWebhook

func (app *WebhookApp) DeleteWebhook(input dto.DeleteWebhookInput) error

func (*WebhookApp) GetDeliveries

func (app *WebhookApp) GetDeliveries(input dto.GetDeliveriesInput) (*dto.GetDeliveriesOutput, error)

func (*WebhookApp) GetWebhook

func (app *WebhookApp) GetWebhook(input dto.GetWebhookInput) (*dto.GetWebhookOutput, error)

func (*WebhookApp) ListWebhooks

func (app *WebhookApp) ListWebhooks(input dto.ListWebhooksInput) (*dto.ListWebhooksOutput, error)

func (*WebhookApp) TriggerWebhooks

func (app *WebhookApp) TriggerWebhooks(input dto.TriggerWebhookInput)

TriggerWebhooks triggers all matching webhooks for an event

func (*WebhookApp) UpdateWebhook

func (app *WebhookApp) UpdateWebhook(input dto.UpdateWebhookInput) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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