Documentation
¶
Overview ¶
Package hooks implements the Hook dispatcher. It subscribes to the Event Bus and delivers events to registered external hooks via HTTP webhook or Kafka — asynchronously and with retry logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHookTestUnsupported = errors.New("hooks: test delivery not supported for this hook type")
ErrHookTestUnsupported is returned when the hook type cannot receive a synthetic test delivery.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service subscribes to the event bus and dispatches events to registered hooks.
func (*Service) DeliverTestEvent ¶
DeliverTestEvent sends a single synthetic event to the hook using the same path as live delivery.
Click to show internal directories.
Click to hide internal directories.