redis

package
v5.0.0-...-b98a0e9 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx context.Context, u *url.URL, tc *tls.Config) (*redis.Client, error)

Types

type Options

type Options struct {
	EvictionTime time.Duration
	CleanWindow  time.Duration
}

type URLOpener

type URLOpener struct{}

func (*URLOpener) Open

func (o *URLOpener) Open(ctx context.Context, u *url.URL) (cache.Cache, error)

Jump to

Keyboard shortcuts

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