Documentation
¶
Overview ¶
Package amqp holds code required for reading messages from RabbitMQ.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
Connection struct holds data for AMQP connection
func NewConnection ¶
func NewConnection(dsn string, initQueues InitQueuesHandler) (*Connection, error)
NewConnection instantiates and establishes new AMQP connection
type InitQueuesHandler ¶
type InitQueuesHandler func(conn *amqp.Connection) error
InitQueuesHandler is a handler function type for AMQP connection
func NewQueuesHandler ¶
func NewQueuesHandler(pipes []config.Pipe, handler MessageHandler, statsClient client.Client) InitQueuesHandler
NewQueuesHandler instantiates queues initialisation handler
Click to show internal directories.
Click to hide internal directories.