Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitMQ ¶
type RabbitMQ interface {
Publish(message []byte) error
Consume(name string, prefetch int, handler func([]byte) error) error
GetStats() (amqp.Queue, error)
// contains filtered or unexported methods
}
func NewRabbitMq ¶
func NewRabbitMq(cnf RabbitMQConfig) RabbitMQ
type RabbitMQConfig ¶
type RabbitMQConfig struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.