cachex

package
v1.7.1-0...-a1f4904 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(x ...reflect.Value) uint64

func TTLWrap

func TTLWrap[Function any](function Function, config TTLConfig) Function

Types

type TTLConfig

type TTLConfig struct {
	TTL     time.Duration
	MaxSize int
}

Jump to

Keyboard shortcuts

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