package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Nov 2, 2025
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Encode(value interface{}) ([]byte, error)
Encode 序列化缓存值
type CacheValue struct {
Type string `msgpack:"t"`
Value interface{} `msgpack:"v"`
}
CacheValue 封装缓存值,保留类型信息
Source Files
¶
Click to show internal directories.
Click to hide internal directories.