Documentation ¶
Index ¶
Constants ¶
View Source
const (
JsonEncoding = iota + 1
)
Variables ¶
View Source
var ( UserTableKeyPrefix = []byte("data") PartitionKeyPrefix = []byte("part") CacheKeyPrefix = "cache" )
Functions ¶
func Encode ¶
Encode is used to encode data to the raw bytes which is used to store in storage as value. The first byte is storing the type corresponding to this Data. This is important and used by the decoder later to decode back.
func EncodeCacheData ¶
func EncodeStreamData ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.