Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { // Application or exchange specific fields, // the headers exchange will inspect this field. Headers lib.Table // Properties ContentType string // MIME content type ContentEncoding string // MIME content encoding DeliveryMode uint8 // Transient (0 or 1) or Persistent (2) Priority uint8 // 0 to 9 CorrelationId string // correlation identifier ReplyTo string // address to to reply to (ex: RPC) Expiration string // message expiration spec MessageId string // message identifier Timestamp time.Time // message timestamp Type string // message type name UserId string // creating user id - ex: "guest" AppId string // creating application id // The application specific payload of the message Body []byte Channel *channels.Channel }
Message struct
type MsgOption ¶
type MsgOption func(*Message)
MsgOption Msg Option
func WithOptionsBody ¶
WithOptionsBody With Options Body
func WithOptionsChannel ¶
WithOptionsChannel With Options Channel
func WithOptionsDeliveryMode ¶
WithOptionsDeliveryMode With Options Delivery Mode
Click to show internal directories.
Click to hide internal directories.