pubsubredis

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReadModeBeginning = "0-0"
	ReadModeLatest    = "$"
)
View Source
const (
	BraidPubsubTopic = "braid.pubsub.streams"
)

Variables

This section is empty.

Functions

func BuildWithOption

func BuildWithOption(info meta.ServiceInfo, log *blog.Logger, cli *redis.Client, opts ...Option) module.IPubsub

Types

type ChannelOption

type ChannelOption func(*ChannelParm)

func WithReadMode

func WithReadMode(mode string) ChannelOption

type ChannelParm

type ChannelParm struct {
	ReadMode string
}

type Option

type Option func(*Parm)

Option config wraps

type Parm

type Parm struct {
}

Jump to

Keyboard shortcuts

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