cacheristretto

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ristretto

type Ristretto struct {
	// contains filtered or unexported fields
}

Ristretto ...

func (*Ristretto) CacheInstance

func (r *Ristretto) CacheInstance() store.ItfCache

func (*Ristretto) Constructor

func (r *Ristretto) Constructor()

func (*Ristretto) Delete

func (r *Ristretto) Delete(key string) (err error)

func (*Ristretto) Get

func (r *Ristretto) Get(key string) (data []byte, err error)

func (*Ristretto) Instance

func (r *Ristretto) Instance() *ristretto.Cache

func (*Ristretto) New

func (*Ristretto) New() *Ristretto

New ...

func (*Ristretto) Reset

func (r *Ristretto) Reset() (err error)

func (*Ristretto) Set

func (r *Ristretto) Set(key string, data []byte) (err error)

func (*Ristretto) String

func (r *Ristretto) String() string

Jump to

Keyboard shortcuts

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