Documentation ¶
Index ¶
- type MessageCenter
- func (m *MessageCenter) Connect(channel string, attempts int, intervalSeconds int) error
- func (m *MessageCenter) ConsumeMessage(queue string, consumer string, autoAck bool, exclusive bool, noLocal bool, ...) (<-chan amqp.Delivery, error)
- func (m *MessageCenter) CreateQueue(name string, durable bool, deleteUnused bool, exclusive bool, noWait bool, ...) error
- func (m *MessageCenter) PublishMessage(queue string, message []byte, exchange string, mandatory bool, immediate bool, ...) error
- func (m *MessageCenter) ReceiveMessage(replyChannel chan string, queue string)
- type Saga
- type SagaStep
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageCenter ¶
type MessageCenter struct { ServerUrl string Connection *amqp.Connection Channel *amqp.Channel }
func (*MessageCenter) Connect ¶
func (m *MessageCenter) Connect(channel string, attempts int, intervalSeconds int) error
func (*MessageCenter) ConsumeMessage ¶ added in v0.0.4
func (*MessageCenter) CreateQueue ¶ added in v0.0.2
func (*MessageCenter) PublishMessage ¶ added in v0.0.2
func (*MessageCenter) ReceiveMessage ¶ added in v0.0.11
func (m *MessageCenter) ReceiveMessage(replyChannel chan string, queue string)
Click to show internal directories.
Click to hide internal directories.