Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmqpConnectionInfo ¶
type AmqpConnectionInfo struct {
// contains filtered or unexported fields
}
type MessageConsumerCallback ¶
type MessageConsumerCallback func(message []byte)
type MessageQueue ¶
type MessageQueue interface {
SetupConnection(connectionName string, info *AmqpConnectionInfo)
Subscribe(connectionName, queueName, routingKey, exchange string)
Consume(consumerCallback MessageConsumerCallback)
Close()
Publish(message interface{}, replyTo, msgXferType, contentType string) error
}
func NewMessageQue ¶
func NewMessageQue() MessageQueue
Click to show internal directories.
Click to hide internal directories.