package
Version:
v0.34.0
Opens a new window with list of versions in this module.
Published: Oct 1, 2024
License: AGPL-3.0, AGPL-3.0-only
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
A Consumer consumes messages from a stream.
New creates a new consumer.
Ack acknowledges the messages.
Read reads messages from the stream.
A Message is a consumed message from a redis stream.
type Option func(*config)
An Option modifies the config.
WithBlock sets the block field of the config.
WithCount sets the count for the config.
WithNoAck sets the noAck field of the config.
WithStream adds a stream to the consumer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.