mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-27 18:50:30 +08:00
rename godis/redis/reply to godis/redis/protocol
This commit is contained in:
@@ -117,7 +117,7 @@ func makeRouter() map[string]CmdFunc {
|
||||
return routerMap
|
||||
}
|
||||
|
||||
// relay command to responsible peer, and return its reply to client
|
||||
// relay command to responsible peer, and return its protocol to client
|
||||
func defaultFunc(cluster *Cluster, c redis.Connection, args [][]byte) redis.Reply {
|
||||
key := string(args[1])
|
||||
peer := cluster.peerPicker.PickNode(key)
|
||||
|
||||
Reference in New Issue
Block a user