feat(lru): change string to proto.KeyBase

This commit is contained in:
HuangJiaLuo 2021-10-06 20:39:07 +08:00
parent f9ad4d914e
commit d4d93a0e51
1 changed files with 13 additions and 10 deletions

View File

@ -17,6 +17,7 @@ const (
REDUCE
SETBIT
GETBIT
)
var CommKeyString = map[string]int {"set": STRING_X,
@ -25,6 +26,7 @@ var CommKeyString = map[string]int{"set": STRING_X,
"reduce": STRING_X,
"setbit": STRING_X,
"getbit": STRING_X,
}
var CommKey = map[int]int {SET: STRING_X,
@ -33,4 +35,5 @@ var CommKey = map[int]int{SET: STRING_X,
REDUCE: STRING_X,
SETBIT: STRING_X,
GETBIT: STRING_X,
}