cache

package
v0.0.0-...-29d9335 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager[T any] struct {
	// contains filtered or unexported fields
}

func ImageCacheManager

func ImageCacheManager() *Manager[string]

func (*Manager[T]) GetValue

func (m *Manager[T]) GetValue(key string) (value T, err error)

func (*Manager[T]) SetWithExpiration

func (m *Manager[T]) SetWithExpiration(key string, value T, expir time.Duration) error

Jump to

Keyboard shortcuts

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