ristretto

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(ristretto *Ristretto)

Option - Option types for cache

type Ristretto

type Ristretto struct {
	*ristretto.Cache
	// contains filtered or unexported fields
}

Ristretto - Structure for Ristretto

func New

func New(opts ...Option) (*Ristretto, error)

New - Creates new ristretto cache

Jump to

Keyboard shortcuts

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