Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerCallback ¶
type ConsumerGroup ¶
type ConsumerGroup struct {
// contains filtered or unexported fields
}
func (*ConsumerGroup) Callback ¶
func (c *ConsumerGroup) Callback(callback ConsumerCallback)
func (*ConsumerGroup) Listen ¶
func (c *ConsumerGroup) Listen() error
type ConsumerOption ¶
type Payload ¶
type Payload struct { ID string `json:"id"` Payload any `json:"payload"` Stream string `json:"stream"` // contains filtered or unexported fields }
func (*Payload) MarshalBinary ¶
func (*Payload) UnmarshalBinary ¶
type RedisStream ¶
type RedisStream struct {
// contains filtered or unexported fields
}
func (*RedisStream) CreateConsumerGroup ¶
func (r *RedisStream) CreateConsumerGroup(stream string, option *ConsumerOption) *ConsumerGroup
Click to show internal directories.
Click to hide internal directories.