kvcache

package
v0.0.0-...-d0a0e58 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecrInt32

func DecrInt32(key string, n int32) (int32, error)

func DeleteObject

func DeleteObject(key string)

func GetInt32

func GetInt32(key string) (v int32, b bool)

func GetObject

func GetObject(key string) (o string, b bool)

func IncrInt32

func IncrInt32(key string, n int32) (int32, error)

func InitGlobalCache

func InitGlobalCache(conf *settings.AppConfig)

func SetInt32

func SetInt32(key string, value int32, duration time.Duration)

func SetObject

func SetObject(key string, object string, duration time.Duration)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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