Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitInterface ¶
type RabbitInterface interface {
Publish(ctx context.Context, queue_name string, msg *Message) error
Consumer(queue_name string, callback func(msg *amqp.Delivery))
Connect() error
Start(queue_name string, callback func(msg *amqp.Delivery))
}
func NewRabbitMQ ¶
func NewRabbitMQ(lista_filas []Fila, conf *config.Config) RabbitInterface
Click to show internal directories.
Click to hide internal directories.