Documentation
¶
Index ¶
- type Context
- type Handler
- type JSON
- type MMQ
- func (m *MMQ) BindQueue(name, routingKey, exchange string, noWait bool, args amqp091.Table) error
- func (m *MMQ) Close() error
- func (m *MMQ) Connect() error
- func (m *MMQ) Consume(name string, handler Handler)
- func (m *MMQ) DeclareExchange(name string, kind string, durable, autoDelete, internal, noWait bool) error
- func (m *MMQ) DeclareQueue(name string, durable, autoDelete, noWait, exclusive bool) error
- func (m *MMQ) Listen()
- func (m *MMQ) Publish(name, exchange string, body []byte) error
- func (m *MMQ) Queue(name, routingKey, exchange string)
- func (m *MMQ) Reconnect()
- func (m *MMQ) Request(name string, body []byte) (data []byte, err error)
- type Settings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MMQ ¶
type MMQ struct {
// contains filtered or unexported fields
}
func (*MMQ) DeclareExchange ¶
func (*MMQ) DeclareQueue ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.