cache

package
v0.0.0-...-dbc70a4 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2025 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 struct {
	// contains filtered or unexported fields
}

func New

func New() *Cache

func (*Cache) Call

func (c *Cache) Call(f any, v ...any) []any

func (*Cache) Stats

func (c *Cache) Stats() Stats

type Stats

type Stats struct {
	Hit  int
	Miss int
}

Jump to

Keyboard shortcuts

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