Documentation
¶
Index ¶
- Constants
- Variables
- func MessageReadableText(msg proto.Message) string
- func MessageReadableTextIndent(msg proto.Message) string
- func PBMapToRedisKLAdd(msg proto.Message, maxLen uint32) (ret []string)
- func PBMapToRedisKLUpdate(msg proto.Message, listIndex uint64) (ret []string)
- func PBMapToRedisKV(msg proto.Message, CASVersion *uint64, forceUpdate bool) []string
- func RedisKVMapToPB(data map[string]string, msg proto.Message) (uint64, error)
- func RedisSliceKVMapToPB(field []string, data []interface{}, msg proto.Message) (uint64, bool, error)
- type RedisListIndexMessage
- type RedisSliceKey
Constants ¶
View Source
const (
RedisListIndexField = "index_number"
)
Variables ¶
View Source
var CASKeyField = "CAS_VERSION"
Functions ¶
func MessageReadableText ¶
func PBMapToRedisKLUpdate ¶
func PBMapToRedisKV ¶
func RedisKVMapToPB ¶
Types ¶
type RedisListIndexMessage ¶
func RedisKLMapToPB ¶
func RedisSliceKLMapToPB ¶
func RedisSliceKLMapToPB(sliceKey []RedisSliceKey, data []interface{}, messageCreate func() proto.Message) ([]RedisListIndexMessage, error)
type RedisSliceKey ¶
type RedisSliceKey struct {
Index uint64
}
Click to show internal directories.
Click to hide internal directories.