cache

package
v0.0.0-...-5195419 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 6 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(int64) storage.Chunk
	Put(int64, storage.Chunk) bool
	Reset()
}

func NewCache

func NewCache(logger *zap.Logger, r prometheus.Registerer, opts *Options) Cache

type Options

type Options struct {
	Size int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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