cache

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: BSD-3-Clause Imports: 10 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 {
	Set(key string, value any, options ...store.Option) error
	Get(key string, value any) error
	Del(key string) error
	Clear(context context.Context) error
	Close()
}

func NewBigcache

func NewBigcache() Cache

func NewRedis

func NewRedis(options *redis_v9.Options) Cache

Jump to

Keyboard shortcuts

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