Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEmptyUrl = errors.New("empty string in url")
)
View Source
var (
ErrorBrokerDsnNotConfigured = errors.New("the rabbitMQ dsn url not configured")
)
Functions ¶
This section is empty.
Types ¶
type RabbitMqInterface ¶ added in v1.5.0
type RabbitMqInterface interface {
NewBroker(topic string, queueArgs amqp.Table, fn interface{}) (rabbitmq.BrokerInterface, error)
}
func NewRabbitMq ¶ added in v1.5.0
func NewRabbitMq(dsn string) (RabbitMqInterface, error)
Click to show internal directories.
Click to hide internal directories.