redis

package
v0.0.0-...-f881a8b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*config)

func WithTopics

func WithTopics(topics ...string) Option

type RedisPubSub

type RedisPubSub struct {
	// contains filtered or unexported fields
}

func NewRedisPubSub

func NewRedisPubSub(ctx context.Context, opts ...Option) *RedisPubSub

func (*RedisPubSub) Listen

func (rps *RedisPubSub) Listen(messages chan<- pubsub.Message, done <-chan error) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL