localmem

package module
v0.0.0-...-c963866 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Path string

Path is localmem数据存储路径

Functions

func Enum

func Enum() (names []string)

Enum to get all localmemcache name

func Get

func Get(keyname string) ([]byte, error)

Get is get string from LocalMemcache Deprecated

func GetValue

func GetValue(keyName string, value interface{}) (err error)

GetValue ... Deprecated

func GetValue2

func GetValue2(keyName string, value interface{}) (cipher bool, err error)

GetValue2 is get object from localmem

func Remove

func Remove(keyName string) (e error)

Remove localmem key

func Set

func Set(keyName string, value interface{}) error

Set is set json to localmemcache Deprecated

func SetValue2

func SetValue2(keyName string, value interface{}, cipher bool) error

SetValue2 ... Deprecated

func SetValueBuf

func SetValueBuf(keyName string, buf []byte, cipher bool) error

SetValueBuf ...

func SetValueJson

func SetValueJson(keyName string, value interface{}, cipher bool) error

SetValueJson ...

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