valkey

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//OptHost Redis/Valkey host name
	OptHost = iota + storage.OptDataTypes + 1
	//OptPort the port number for the server. Will default to 6379 if not supplied
	OptPort
	//OptClientCaching set true to use client side caching else false
	OptClientCaching //see https://redis.io/docs/latest/develop/reference/client-side-caching/
	//OptClientCachingTtl if OptClientCaching is true, then how long to keep the client side caching item
	OptClientCachingTtl
	//OptValkeyOptions Valkey client options
	OptValkeyOptions
)

Variables

This section is empty.

Functions

func New

func New(namespace string, host string, ttl time.Duration, clientCaching bool, clientCachingTtl time.Duration) storage.Storage

Types

This section is empty.

Jump to

Keyboard shortcuts

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