noop

package
v1.0.0-beta.221 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler is a no-op implementation of the webhook handler.

func New

func New(logger *slog.Logger) *Handler

func (Handler) CreateWebhook

func (h Handler) CreateWebhook(ctx context.Context, params webhook.CreateWebhookInput) (*webhook.Webhook, error)

func (Handler) DeleteWebhook

func (h Handler) DeleteWebhook(ctx context.Context, params webhook.DeleteWebhookInput) error

func (Handler) GetWebhook

func (h Handler) GetWebhook(ctx context.Context, params webhook.GetWebhookInput) (*webhook.Webhook, error)

func (Handler) ListWebhooks

func (h Handler) ListWebhooks(ctx context.Context, params webhook.ListWebhooksInput) ([]webhook.Webhook, error)

func (Handler) RegisterEventTypes

func (h Handler) RegisterEventTypes(ctx context.Context, params webhook.RegisterEventTypesInputs) error

func (Handler) SendMessage

func (h Handler) SendMessage(ctx context.Context, params webhook.SendMessageInput) (*webhook.Message, error)

func (Handler) UpdateWebhook

func (h Handler) UpdateWebhook(ctx context.Context, params webhook.UpdateWebhookInput) (*webhook.Webhook, error)

func (Handler) UpdateWebhookChannels

func (h Handler) UpdateWebhookChannels(ctx context.Context, params webhook.UpdateWebhookChannelsInput) (*webhook.Webhook, error)

Jump to

Keyboard shortcuts

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