mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-05 08:46:56 +08:00
using TCC for MSetNX in cluster
This commit is contained in:
@@ -76,7 +76,7 @@ func MakeCluster() *Cluster {
|
||||
}
|
||||
|
||||
// CmdFunc represents the handler of a redis command
|
||||
type CmdFunc func(cluster *Cluster, c redis.Connection, cmdAndArgs [][]byte) redis.Reply
|
||||
type CmdFunc func(cluster *Cluster, c redis.Connection, cmdLine CmdLine) redis.Reply
|
||||
|
||||
// Close stops current node of cluster
|
||||
func (cluster *Cluster) Close() {
|
||||
|
Reference in New Issue
Block a user