lrufile

package
v0.0.0-...-189a019 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: MIT, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File interface {
	io.ReadSeeker
	Reset(rs io.ReadSeeker) error
	Stats() Stats
}

func New

func New(chunkSize int64, numEntries int) (File, error)

type Stats

type Stats struct {
	Hits   int64
	Misses int64
}

Jump to

Keyboard shortcuts

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