cache

package
v0.0.0-alpha4 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: AGPL-3.0 Imports: 0 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 {
	Get(key interface{}) (interface{}, bool)
	Set(key interface{}, entry interface{}, cost int64) bool
	Wait()
	Close()
}

Cache defines an interface for a generic cache.

type Engine

type Engine string

Engine -

const (
	RISTRETTO Engine = "ristretto"
)

func (Engine) String

func (c Engine) String() string

String -

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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