Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrEmptyInputProvided indicates empty input was provided in an unacceptable context. ErrEmptyInputProvided = errors.New("empty input provided") )
Functions ¶
func ProvideRedisConsumerProvider ¶
func ProvideRedisConsumerProvider(logger logging.Logger, tracerProvider tracing.TracerProvider, cfg Config) messagequeue.ConsumerProvider
ProvideRedisConsumerProvider returns a ConsumerProvider for a given address.
func ProvideRedisPublisherProvider ¶
func ProvideRedisPublisherProvider(l logging.Logger, tracerProvider tracing.TracerProvider, cfg Config) messagequeue.PublisherProvider
ProvideRedisPublisherProvider returns a PublisherProvider for a given address.
Types ¶
type Config ¶
type Config struct { Username string `json:"username" toml:"username,omitempty"` Password string `json:"password,omitempty" toml:"password,omitempty"` QueueAddresses []string `json:"queueAddress" toml:"queue_address,omitempty"` DB int `json:"database,omitempty" toml:"database,omitempty"` }
Config configures a Redis-backed consumer.
Click to show internal directories.
Click to hide internal directories.