wheat-cache/storage/temp/const.gen.go

120 lines
1.7 KiB
Go
Raw Normal View History

2021-10-23 23:41:36 +08:00
// Code generated by gen-struct. DO NOT EDIT.
// make gen-struct generated
package structure
const (
DEFAULT_KEY = iota
STRING_X
LIST_X
2021-11-04 19:20:10 +08:00
HASH_X
2021-10-23 23:41:36 +08:00
)
const (
DEFAULT_COMM = iota
Set
Get
Add
Reduce
SetBit
GetBit
GetRange
GetSet
StrLen
Setnx
LIndex
LLen
LPop
LPush
LPushX
LRange
LRem
LSet
RPop
LTrim
RPush
RPushX
2021-11-04 19:20:10 +08:00
HDel
HExists
HGet
HGetAll
HIncrBy
HKeys
HLen
HSet
HSetX
2021-10-23 23:41:36 +08:00
)
var CommKeyString = map[string]int{
"Set": STRING_X,
"Get": STRING_X,
"Add": STRING_X,
"Reduce": STRING_X,
"SetBit": STRING_X,
"GetBit": STRING_X,
"GetRange": STRING_X,
"GetSet": STRING_X,
"StrLen": STRING_X,
"Setnx": STRING_X,
"LIndex": LIST_X,
"LLen": LIST_X,
"LPop": LIST_X,
"LPush": LIST_X,
"LPushX": LIST_X,
"LRange": LIST_X,
"LRem": LIST_X,
"LSet": LIST_X,
"RPop": LIST_X,
"LTrim": LIST_X,
"RPush": LIST_X,
"RPushX": LIST_X,
2021-11-04 19:20:10 +08:00
"HDel": HASH_X,
"HExists": HASH_X,
"HGet": HASH_X,
"HGetAll": HASH_X,
"HIncrBy": HASH_X,
"HKeys": HASH_X,
"HLen": HASH_X,
"HSet": HASH_X,
"HSetX": HASH_X,
2021-10-23 23:41:36 +08:00
}
var CommKey = map[int]int{
Set: STRING_X,
Get: STRING_X,
Add: STRING_X,
Reduce: STRING_X,
SetBit: STRING_X,
GetBit: STRING_X,
GetRange: STRING_X,
GetSet: STRING_X,
StrLen: STRING_X,
Setnx: STRING_X,
LIndex: LIST_X,
LLen: LIST_X,
LPop: LIST_X,
LPush: LIST_X,
LPushX: LIST_X,
LRange: LIST_X,
LRem: LIST_X,
LSet: LIST_X,
RPop: LIST_X,
LTrim: LIST_X,
RPush: LIST_X,
RPushX: LIST_X,
2021-11-04 19:20:10 +08:00
HDel: HASH_X,
HExists: HASH_X,
HGet: HASH_X,
HGetAll: HASH_X,
HIncrBy: HASH_X,
HKeys: HASH_X,
HLen: HASH_X,
HSet: HASH_X,
HSetX: HASH_X,
2021-10-23 23:41:36 +08:00
}