Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
Group string
ID uint64
Priority int64
Content string
Metadata map[string]string
QueueName string `json:"QueueName,omitempty"`
QueueType string `json:"QueueType,omitempty"`
}
func MessageFromBytes ¶
func (*Message) UpdatePriority ¶
type QueueConfig ¶
func QueueConfigFromBytes ¶
func QueueConfigFromBytes(data []byte) (*QueueConfig, error)
func (*QueueConfig) ToBytes ¶
func (qc *QueueConfig) ToBytes() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.