Documentation ¶
Index ¶
Constants ¶
View Source
const ( EXIT_ACK = 0 EXIT_REJECT = 3 EXIT_REJECT_REQUEUE = 4 EXIT_NACK = 5 EXIT_NACK_REQUEUE = 6 EMPTY_STRING = "<empty>" )
Variables ¶
This section is empty.
Functions ¶
func ConnectionCloseHandler ¶
Types ¶
type Consumer ¶
type Consumer struct { Channel *amqp.Channel Connection *amqp.Connection Queue string Factory *command.CommandFactory ErrLogger *log.Logger InfLogger *log.Logger Executer *command.CommandExecuter Compression bool IncludeMetadata bool StrictExitCode bool OnFailure int }
type DeliveryInfo ¶
type Properties ¶
type Properties struct { Headers amqp.Table `json:"application_headers"` ContentType string `json:"content_type"` ContentEncoding string `json:"content_encoding"` DeliveryMode uint8 `json:"delivery_mode"` Priority uint8 `json:"priority"` CorrelationId string `json:"correlation_id"` ReplyTo string `json:"reply_to"` Expiration string `json:"expiration"` MessageId string `json:"message_id"` Timestamp time.Time `json:"timestamp"` Type string `json:"type"` UserId string `json:"user_id"` AppId string `json:"app_id"` }
Click to show internal directories.
Click to hide internal directories.