Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Streamer ¶
type Streamer struct {
Addr string `json:"addr"`
Queue string `json:"queue"`
Consumer string `json:"consumer"`
Workers int `json:"workers"`
AutoAck bool `json:"auto_ack"`
Process func(d amqp.Delivery) `json:"-"`
}
Streamer implements a RabbitMQ streamer. Messages are streamed to the Process function. Process is responsible for Ack/Nack.
Click to show internal directories.
Click to hide internal directories.