Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deliverer ¶
type Deliverer struct {
// contains filtered or unexported fields
}
Deliverer is an AMQP deliverer which publishes a notifier.Callback to the the broker.
It's an error to configure this deliverer with an Exchange that does not exist. Administrators should configure the Exchange, Queue, and Bindings before starting this deliverer.
type DirectDeliverer ¶
type DirectDeliverer struct { Deliverer // contains filtered or unexported fields }
DirectDeliverer is an AMQP deliverer which publishes notifications directly to the broker.
It's an error to configure this deliverer with an exchange that does not exist. Administrators should configure the Exchange, Queue, and Bindings before starting this deliverer.
func NewDirectDeliverer ¶
func NewDirectDeliverer(conf *config.AMQP) (*DirectDeliverer, error)
func (*DirectDeliverer) Name ¶
func (d *DirectDeliverer) Name() string
func (*DirectDeliverer) Notifications ¶
func (d *DirectDeliverer) Notifications(ctx context.Context, n []notifier.Notification) error
Notifications will copy the provided notifications into a buffer for AMQP delivery.
Click to show internal directories.
Click to hide internal directories.