redis

package
v4.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: AGPL-3.0 Imports: 13 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) OpenURL

func (o *URLOpener) OpenURL(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