1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-12 14:21:52 +03:00

Added CLUSTER FORGET command

This commit is contained in:
Dimitrij Denissenko
2015-12-09 09:33:37 +00:00
parent ba9dda7567
commit 397440deca

View File

@ -1662,6 +1662,12 @@ func (c *commandable) ClusterMeet(host, port string) *StatusCmd {
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 {
cmd := newKeylessStatusCmd("CLUSTER", "replicate", nodeID)
c.Process(cmd)