memcache

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheValue

type CacheValue struct {
	Value interface{}
}

type MemCache

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

func NewLocalCache

func NewLocalCache() *MemCache

func (*MemCache) Del

func (c *MemCache) Del(key string)

func (*MemCache) Get

func (c *MemCache) Get(key string) (CacheValue, bool)

func (*MemCache) GetAllKeys

func (c *MemCache) GetAllKeys() []string

func (*MemCache) Set

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

Jump to

Keyboard shortcuts

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