Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitChannel ¶
type RabbitChannel interface {
ExchangeDeclare(name string, chType string) error
Publish(exchange string, routingKey string, body []byte) error
}
func NewRabbitChannel ¶
func NewRabbitChannel( rabbitURL string, log log.LogRusEntry, ) (RabbitChannel, error)
Click to show internal directories.
Click to hide internal directories.