stores

package
v0.0.0-...-3bbbf02 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2021 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 IntCache

type IntCache interface {
	Get(key string) (int64, bool)
	Set(key string, val int64)
	Add(key string, delta int64) int64
	Del(key string)
	Keys() []string
}

func NewIntCache

func NewIntCache() IntCache

type ObjCache

type ObjCache interface {
	Get(key string) (interface{}, bool)
	Set(key string, val interface{})
	Del(key string)
	Keys() []string
}

func NewObjCache

func NewObjCache() ObjCache

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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