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

identitycache

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToCache

func AddToCache[T interface{}](
	ctx context.Context,
	tCache *cache.Cache[[]byte],
	key string,
	value *T,
) error

Add to cache

func GetFromCache

func GetFromCache[T interface{}](
	ctx context.Context,
	tCache *cache.Cache[[]byte],
	key string,
) (*T, bool)

Get from cache

Types

This section is empty.

Jump to

Keyboard shortcuts

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