Custom commands are from redis module can be added up to 16(currently).
Configuration is like below.
CustomCommand {
hello { # hello is command, must be lower case.
# this command has 2 or 3 parameters and first argument is key
minArgs 2 # minimum arguments(including command itself)
maxArgs 3 # maximum arguments(including command itself)
mode Write,Read # this command is writable and readable
# mode value can be Admin, Private, NoKey, MultiKey, SMultiKey, MultiKeyVal, KeyAt2, KeyAt3
}
newcommand { # default minArgs = 1, maxArgs = 1 and mode = Write
mode Admin
}
...
}