cache

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: MIT Imports: 1 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(id uint64) ([]byte, error)
	Set(id uint64, value []byte) error
	Delete(id uint64)
}

type HTTPCacheFromConfig

type HTTPCacheFromConfig interface {
	FromConfig(log *zap.Logger) (Cache, error)
}

Jump to

Keyboard shortcuts

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