load_cache

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache added in v1.6.3

type Cache struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func GetCache added in v1.6.3

func GetCache() *Cache

func NewCache

func NewCache() *Cache

func (*Cache) Get added in v1.6.3

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

func (*Cache) NewNamespace added in v1.6.3

func (c *Cache) NewNamespace() *NNCache

func (*Cache) Purge added in v1.6.3

func (c *Cache) Purge()

func (*Cache) Remove added in v1.6.3

func (c *Cache) Remove(key string)

func (*Cache) Store added in v1.6.3

func (c *Cache) Store(key string, v interface{})

type NNCache added in v1.6.3

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

func (*NNCache) Get added in v1.6.3

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

func (*NNCache) Remove added in v1.6.3

func (c *NNCache) Remove(key string)

func (*NNCache) Store added in v1.6.3

func (c *NNCache) Store(key string, v interface{})

Jump to

Keyboard shortcuts

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