memorystore

package
v0.4.101 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient[V any](pool *redis.Pool) *client[V]

NewClient returns a new MemorystoreClient implementation that reads and writes data in Redis.

Types

type PutOptions

type PutOptions struct {
	FieldMustExist string // Specifies a field that must already exist in the entry.
	WithExpire     bool   // Specifies whether an expiration should be added to the entry.
}

PutOptions defines the parameters that can be used for PUT operations.

Jump to

Keyboard shortcuts

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