cache

package
v1.6.20 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 0 Imported by: 1

Documentation

Overview

Package cache allows you to store values in the temporary storage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ICache

type ICache interface {
	ICacheSetter
	ICacheGetter
}

type ICacheGetter

type ICacheGetter interface {
	Get([]byte) ([]byte, bool)
}

type ICacheSetter

type ICacheSetter interface {
	Set([]byte, []byte) bool
}

Directories

Path Synopsis
Package lru allows you to store values in a queue and compare their existence.
Package lru allows you to store values in a queue and compare their existence.

Jump to

Keyboard shortcuts

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