redis

package
v3.30.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PubSubRegistry

type PubSubRegistry struct {
	Redis   *ttnredis.Client
	LockTTL time.Duration
}

PubSubRegistry is a Redis pub/sub registry.

func (PubSubRegistry) Get

Get implements pubsub.Registry.

func (*PubSubRegistry) Init added in v3.15.2

func (r *PubSubRegistry) Init(ctx context.Context) error

Init initializes the PubSubRegistry.

func (PubSubRegistry) List

List implements pubsub.Registry.

func (PubSubRegistry) Range

Range implements pubsub.Registry.

func (PubSubRegistry) Set

Set implements pubsub.Registry.

Jump to

Keyboard shortcuts

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