Documentation ¶
Index ¶
- func DeleteMark(mark string)
- func GetByMarkInterface(mark string, data interface{}) bool
- func GetByMarkInterfaceReturn(mark string) (data interface{}, b bool)
- func GetDataByByte(mark string, data interface{}) error
- func GetDataByInt64(mark string) (val int64, b bool)
- func Run()
- func SetData(args *DataCache)
- func SetDataByBool(mark string, addExpireTime int64, b bool) error
- func SetDataByByte(mark string, addExpireTime int64, data interface{}) error
- func SetDataByFloat64(mark string, addExpireTime int64, val float64) error
- func SetDataByInt64(mark string, addExpireTime int64, val int64) error
- func SetDataByInterface(mark string, addExpireTime int64, val interface{}) error
- type ArgsGetByMark
- type DataCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetByMarkInterface ¶
GetByMarkInterface 获取缓冲模块interface数据 Deprecated
func GetByMarkInterfaceReturn ¶
GetByMarkInterfaceReturn 获取缓冲模块interface数据 Deprecated
func GetDataByByte ¶
GetDataByByte 将byte转为特殊结构体 Deprecated
func GetDataByInt64 ¶
GetDataByInt64 将int64转为特殊结构体 Deprecated
func SetDataByBool ¶
SetDataByBool 直接存储对应值 Deprecated
func SetDataByByte ¶
SetDataByByte 将特殊结构体转为byte Deprecated
func SetDataByFloat64 ¶
SetDataByFloat64 直接存储对应值 Deprecated
func SetDataByInt64 ¶
SetDataByInt64 直接存储对应值 Deprecated
func SetDataByInterface ¶
SetDataByInterface 设置动态变量 Deprecated
Types ¶
type DataCache ¶
Click to show internal directories.
Click to hide internal directories.