Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnection ¶
func NewConnection() (*rabbitmq.Conn, error)
Init a new RabbitMQ connection with the RabbitMQ host.
func NewPublisher ¶
func NewPublisher(conn *rabbitmq.Conn) (*rabbitmq.Publisher, error)
Create a new publisher that publishes to the "swipes" exchange via "fanout" method.
Types ¶
Click to show internal directories.
Click to hide internal directories.