package
Version:
v0.0.0-...-c1f6a72
Opens a new window with list of versions in this module.
Published: Aug 12, 2019
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
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.