You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
470 B
27 lines
470 B
package commands
|
|
|
|
type keySpec struct {
|
|
// begin_search
|
|
beginSearchType string
|
|
// @index
|
|
beginSearchIndex int
|
|
// @keyword
|
|
beginSearchKeyword string
|
|
beginSearchStartFrom int
|
|
|
|
// find_keys
|
|
findKeysType string
|
|
// @range
|
|
findKeysRangeLastKey int
|
|
findKeysRangeKeyStep int
|
|
findKeysRangeLimit int
|
|
// @keynum
|
|
findKeysKeynumIndex int
|
|
findKeysKeynumFirstKey int
|
|
findKeysKeynumKeyStep int
|
|
}
|
|
|
|
type redisCommand struct {
|
|
group string
|
|
keySpec []keySpec
|
|
}
|
|
|