webhook

package
v1.0.22 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(

	fx.Provide(

		providePubSub,
	),

	fx.Provide(

		publisher.NewPublisher,

		handler.NewHandler,

		providePayloadBuilderFactory,

		NewWebhookService,
	),
)

Module provides all webhook-related dependencies

Functions

This section is empty.

Types

type WebhookService

type WebhookService struct {
	// contains filtered or unexported fields
}

WebhookService orchestrates webhook operations

func NewWebhookService

NewWebhookService creates a new webhook service

func (*WebhookService) RegisterHandler

func (s *WebhookService) RegisterHandler(router *pubsubRouter.Router)

RegisterHandler registers the webhook handler with the router

func (*WebhookService) Start

func (s *WebhookService) Start(ctx context.Context) error

Start starts the webhook service

func (*WebhookService) Stop

func (s *WebhookService) Stop() error

Stop stops the webhook service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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