cache

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cache

func Cache(timeout time.Duration, keys ...key.Key) func(f func() ([]byte, error)) ([]byte, error)

Cache caches a function for given duration and keys.

Types

This section is empty.

Directories

Path Synopsis
Package cache provides cache keys
Package cache provides cache keys

Jump to

Keyboard shortcuts

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