Help us shape the future of Go! Take the 2026 Go Developer Survey

cachetest

package
v1.28.16 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const IntSize = ids.IDLen + 8

Variables

View Source
var Tests = []struct {
	Size int
	Func func(t *testing.T, c cache.Cacher[ids.ID, int64])
}{
	{Size: 1, Func: Basic},
	{Size: 2, Func: Eviction},
}

Tests is a list of all Cacher tests

Functions

func Basic

func Basic(t *testing.T, cache cache.Cacher[ids.ID, int64])

func Eviction

func Eviction(t *testing.T, cache cache.Cacher[ids.ID, int64])

func IntSizeFunc

func IntSizeFunc(ids.ID, int64) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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