Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueuePublisher ¶
type QueuePublisher struct {
// contains filtered or unexported fields
}
func NewQueuePublisher ¶
func NewQueuePublisher(rabbitMQURL string, queueName string) *QueuePublisher
func NewQueuePublisherWithConnection ¶
func NewQueuePublisherWithConnection( rabbitMQURL string, conn *amqp091.Connection, queueName string, ) (*QueuePublisher, error)
func (*QueuePublisher) Publish ¶
func (q *QueuePublisher) Publish(msg amqp091.Publishing) error
Click to show internal directories.
Click to hide internal directories.