imem

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KRCache

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

KRCache handles in-memory caching for KR region

func NewKRCache

func NewKRCache(timeout time.Duration) *KRCache

NewKRCache creates a new KR in-memory cache

func (*KRCache) Get

func (c *KRCache) Get(key string) (interface{}, bool)

Get retrieves value from cache

func (*KRCache) Set

func (c *KRCache) Set(key string, value interface{})

Set stores value in cache

Jump to

Keyboard shortcuts

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