ristretto

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSetValue = errors.New("failed set value")

Functions

func New

func New(retto *ristretto.Cache, opts ...Option) cache.Provider

Types

type Option

type Option func(*setting)

func WithCost

func WithCost(cost int64) Option

Jump to

Keyboard shortcuts

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