Documentation
¶
Overview ¶
Package stomp implements a Deliverer over the STOMP protocol.
Deprecated: This package will be removed in a future version. Users should write a webhook to STOMP transducer.
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 a STOMP deliverer which publishes a notifier.Callback to the broker.
type DirectDeliverer ¶
type DirectDeliverer struct {
Deliverer
// contains filtered or unexported fields
}
Deliverer is a STOMP deliverer which publishes a notifier.Callback to the the broker.
func NewDirectDeliverer ¶
func NewDirectDeliverer(conf *config.STOMP) (*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 STOMP delivery.
Click to show internal directories.
Click to hide internal directories.