redis

package
v0.0.0-...-36d8597 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct{}

type Redis

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

func New

func New() *Redis

func (Redis) Close

func (r Redis) Close() error

func (Redis) Init

func (r Redis) Init(ctx context.Context) error

func (Redis) Publish

func (r Redis) Publish(ctx context.Context, target string, message query.Message) error

func (Redis) Subscribe

func (r Redis) Subscribe(target string, message query.Response) error

func (Redis) UnSubscribe

func (r Redis) UnSubscribe(target string) error

Jump to

Keyboard shortcuts

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