Add sample custom command configuration(conf/command.conf)

This commit is contained in:
Yoon 2018-04-06 18:00:27 +09:00
parent 15d51cb931
commit edbe04b818
2 changed files with 99 additions and 0 deletions

93
conf/command.conf Normal file
View File

@ -0,0 +1,93 @@
CustomCommand {
#
hello.simple {
minArgs 3
maxArgs 3
mode Read
}
#
hello.push.native {
minArgs 3
maxArgs 3
mode Read
}
#
hello.push.call {
minArgs 3
maxArgs 3
mode Read
}
#
hello.push.call2 {
minArgs 3
maxArgs 3
mode Read
}
#
hello.list.sumlen {
minArgs 3
maxArgs 3
mode Read
}
#
hello.list.splice {
minArgs 3
maxArgs 3
mode Read
}
#
hello.list.splice.auto {
minArgs 3
maxArgs 3
mode Read
}
#
hello.ran.array {
minArgs 3
maxArgs 3
mode Read
}
#
hello.repl1 {
minArgs 3
maxArgs 3
mode Read
}
#
hello.repl2 {
minArgs 3
maxArgs 3
mode Read
}
#
hello.toggle.case {
minArgs 3
maxArgs 3
mode Read
}
#
hello.more.expire {
minArgs 3
maxArgs 3
mode Read
}
#
hello.lexrange {
minArgs 3
maxArgs 3
mode Read
}
#
hello.hcopy {
minArgs 3
maxArgs 3
mode Read
}
#
hello.leftpad {
minArgs 3
maxArgs 3
mode Read
}
}

View File

@ -93,6 +93,12 @@ Include try.conf
# Include dc.conf # Include dc.conf
################################### LATENCY ####################################
## Custom command define, see command.conf
## must defined before Latency monitor
#Include command.conf
################################### LATENCY #################################### ################################### LATENCY ####################################
## Latency monitor define, see latency.conf ## Latency monitor define, see latency.conf
Include latency.conf Include latency.conf