dynamicache

package
v0.0.0-...-91dbda9 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MaxIdle   int   = 0
	MaxOpen   int   = 0
	ExpireSec int64 = 0
)

Functions

func InitCache

func InitCache()

func ReadList

func ReadList(key string, list interface{}) (int, error)

func ReadString

func ReadString(key string) (string, error)

func ReadStruct

func ReadStruct(key string, obj interface{}) error

func WriteList

func WriteList(key string, list interface{}, total int) error

func WriteString

func WriteString(key string, value string) error

func WriteStruct

func WriteStruct(key string, obj interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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