Documentation ¶
Index ¶
Constants ¶
View Source
const MESSAGE_CONTENT_TYPE_JSON = "application/json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmqpService ¶
type AmqpService interface { Connect() error Emit(exchangeKey string, payload []byte) error On(queueName, exchangeKey string, callback func(body []byte) error) error Shutdown() error }
func NewRabbitMqService ¶
func NewRabbitMqService(url, exchange string, durable bool) AmqpService
Click to show internal directories.
Click to hide internal directories.