redis

package
v0.0.0-...-33feacd Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redis

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

func New

func New() *Redis

func (*Redis) Init

func (r *Redis) Init(ctx context.Context, log logger.Logger) error

func (*Redis) Publish

func (r *Redis) Publish(_ context.Context, _ string, _, _ []byte) error

func (*Redis) Subscribe

func (r *Redis) Subscribe(_ context.Context, _ string, _ query.Response) error

func (*Redis) UnSubscribe

func (r *Redis) UnSubscribe(_ string) error

Jump to

Keyboard shortcuts

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