Help us shape the future of Go! Take the 2026 Go Developer Survey

cache

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	Get(key string) (string, error)
	Set(key, value string, expires ...int) error
	Del(key string) error
	HGet(key, member string) (string, error)
	HSet(key, member, value string) error
}

type ObjectCache added in v0.2.0

type ObjectCache interface {
	Get() (string, error)
	Set(value string, expiresIn ...int) error
}

func NewObjectCache added in v0.2.0

func NewObjectCache(appId string, redisProvider types.RedisProvider, redisKeys ...string) ObjectCache

Jump to

Keyboard shortcuts

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