localcache

package
v0.0.0-...-1f2fd11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(key string) error

Delete delete value from bigcache.

func Get

func Get(key string, dest interface{}) error

Get gets a value from bigcache.

func GetClient

func GetClient() *bigcache.BigCache

func NewClient

func NewClient(config *conf.Config) (*bigcache.BigCache, error)

func Set

func Set(key string, value interface{}, duration time.Duration) error

Set sets a value in bigcache.

Types

This section is empty.

Jump to

Keyboard shortcuts

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