mirror of https://github.com/go-redis/redis.git
Added CLUSTER FORGET command
This commit is contained in:
parent
ba9dda7567
commit
397440deca
|
@ -1662,6 +1662,12 @@ func (c *commandable) ClusterMeet(host, port string) *StatusCmd {
|
||||||
return cmd
|
return cmd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *commandable) ClusterForget(nodeID string) *StatusCmd {
|
||||||
|
cmd := newKeylessStatusCmd("CLUSTER", "forget", nodeID)
|
||||||
|
c.Process(cmd)
|
||||||
|
return cmd
|
||||||
|
}
|
||||||
|
|
||||||
func (c *commandable) ClusterReplicate(nodeID string) *StatusCmd {
|
func (c *commandable) ClusterReplicate(nodeID string) *StatusCmd {
|
||||||
cmd := newKeylessStatusCmd("CLUSTER", "replicate", nodeID)
|
cmd := newKeylessStatusCmd("CLUSTER", "replicate", nodeID)
|
||||||
c.Process(cmd)
|
c.Process(cmd)
|
||||||
|
|
Loading…
Reference in New Issue