Documentation
¶
Index ¶
- Constants
- type NewNotificationMsg
- type RabbitMQ
- func (r *RabbitMQ) CloseConnection() (err error)
- func (r *RabbitMQ) CreateQueue(queueName string) (err error)
- func (r *RabbitMQ) GetConsumerChan(queue string) (messages <-chan amqp.Delivery, err error)
- func (r *RabbitMQ) PublishMsg(queue string, message []byte) (err error)
- func (r *RabbitMQ) Setup(serverURL string) (err error)
Constants ¶
View Source
const (
NotificationQueue = "notification"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewNotificationMsg ¶
type RabbitMQ ¶
type RabbitMQ struct {
// contains filtered or unexported fields
}
func (*RabbitMQ) CloseConnection ¶
func (*RabbitMQ) CreateQueue ¶
func (*RabbitMQ) GetConsumerChan ¶
func (*RabbitMQ) PublishMsg ¶
Click to show internal directories.
Click to hide internal directories.