cache

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: BSD-3-Clause Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	Set(key string, value any, options ...store.Option) error
	Get(key string, value any) error
	Del(key string) error
	Clear(context.Context) error
	Close() error
}

func Bigcache

func Bigcache() Cache

func Redis

func Redis(options *redis_v9.Options) Cache

func RedisDefault

func RedisDefault() Cache

Jump to

Keyboard shortcuts

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