Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PendingMessage ¶
type PendingMessage struct { // MessageID is the ID of the pending message MessageID string // ConsumerName is the name of the consumer who was sent the pending message ConsumerName string // IdleTime is how much milliseconds have passed since the last time the message was delivered to the consumer IdleTime int // NumberOfDeliveries is the number of times that this message was delivered to the consumer DeliveryCount int }
type PendingMessages ¶
type PendingMessages []PendingMessage
func ScanXPendingReply ¶
func ScanXPendingReply(reply interface{}, err error) (PendingMessages, error)
type StreamElement ¶
type StreamElement struct { // Name is the stream name Name string // Items is the stream items (ID and list of field-value pairs) Items []StreamItem }
type StreamElements ¶
type StreamElements []StreamElement
func ScanXReadReply ¶
func ScanXReadReply(src []interface{}, dst StreamElements) (StreamElements, error)
type StreamGroup ¶
type StreamGroups ¶
type StreamGroups map[string]StreamGroup
func ScanXInfoGroupReply ¶
func ScanXInfoGroupReply(reply interface{}, err error) (StreamGroups, error)
type StreamItem ¶
Click to show internal directories.
Click to hide internal directories.