add some annotation

v4
suxb201 2 years ago
parent 8983c2e8cc
commit a18380b3fc
  1. 2
      internal/rdb/structure/length.go
  2. 2
      internal/rdb/types/interface.go

@ -11,7 +11,7 @@ const (
RDB6ByteLen = 0 // RDB_6BITLEN
RDB14ByteLen = 1 // RDB_14BITLEN
len32or64Bit = 2
lenSpecial = 3
lenSpecial = 3 // RDB_ENCVAL
RDB32ByteLen = 0x80
RDB64ByteLen = 0x81
)

@ -28,7 +28,7 @@ const (
rdbTypeList = 1
rdbTypeSet = 2
rdbTypeZSet = 3
rdbTypeHash = 4
rdbTypeHash = 4 // RDB_TYPE_HASH
rdbTypeZSet2 = 5 // ZSET version 2 with doubles stored in binary.
rdbTypeModule = 6 // RDB_TYPE_MODULE
rdbTypeModule2 = 7 // RDB_TYPE_MODULE2 Module value with annotations for parsing without the generating module being loaded.

Loading…
Cancel
Save