cache

package
v1.5.9 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalCacheComponent

type LocalCacheComponent struct {
	// contains filtered or unexported fields
}

func NewLocalCache

func NewLocalCache() *LocalCacheComponent

func (*LocalCacheComponent) Delete

func (c *LocalCacheComponent) Delete(key string)

func (*LocalCacheComponent) Get

func (c *LocalCacheComponent) Get(key string) (any, bool)

func (*LocalCacheComponent) Set

func (c *LocalCacheComponent) Set(key string, value any, expiration time.Duration)

Jump to

Keyboard shortcuts

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