MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / RegisterWebhookSender

Function RegisterWebhookSender

internal/notification/notification.go:107–109  ·  view source on GitHub ↗

RegisterWebhookSender registers a function to handle webhook sending.

(sender WebhookSender)

Source from the content-addressed store, hash-verified

105
106// RegisterWebhookSender registers a function to handle webhook sending.
107func RegisterWebhookSender(sender WebhookSender) {
108 webhookSender = sender
109}
110
111// NotifyError sends an error notification through the configured notification system.
112// It logs the error locally and sends a notification via Slack (if configured).

Calls

no outgoing calls