redis

package
v0.0.0-...-04d946b Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFromOptions

func LoadFromOptions(ctx context.Context, opts *goredis.Options) (registrycache.MemoryEntriesCache, error)

LoadFromOptions creates a MemoryEntriesCache from go-redis Options. This allows callers to customize options (e.g. Protocol for RESP2).

func LoadFromURL

func LoadFromURL(ctx context.Context, redisURL string) (registrycache.MemoryEntriesCache, error)

LoadFromURL creates a MemoryEntriesCache from a Redis-compatible URL. This is exported so other plugins (e.g. Infinispan RESP) can reuse the implementation.

func LoadFromURLWithTTL

func LoadFromURLWithTTL(ctx context.Context, redisURL string, ttl time.Duration) (registrycache.MemoryEntriesCache, error)

LoadFromURLWithTTL creates a cache with an explicit memory-entry TTL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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