cache

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 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, entry interface{}, cost int64) bool
	Wait()
	Close()
}

Cache - Defines an interface for a generic cache.

type Engine

type Engine string

Engine - Engine type for cache

const (
	RISTRETTO Engine = "ristretto"
)

func (Engine) String

func (c Engine) String() string

String - String converter

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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