cache

package
v0.0.0-...-bb1a4e7 Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 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 MemoryCache

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

func Instance

func Instance() *MemoryCache

func NewMemoryCache

func NewMemoryCache() *MemoryCache

func (MemoryCache) Get

func (cache MemoryCache) Get(key []byte) (interface{}, bool)

func (*MemoryCache) Set

func (cache *MemoryCache) Set(key []byte, value interface{})

Jump to

Keyboard shortcuts

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