stream

package
v0.6.1-rc.5 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pubsub

type Pubsub struct {
	Redis  *redis.Client
	Logger log.Logger
}

func (*Pubsub) Publish

func (r *Pubsub) Publish(ctx context.Context, topic string, data []byte) error

func (*Pubsub) Subscribe

func (r *Pubsub) Subscribe(ctx context.Context, topic string) chan []byte

Jump to

Keyboard shortcuts

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