From 397440deca777211c19cb4fe3a033f9915f71735 Mon Sep 17 00:00:00 2001 From: Dimitrij Denissenko Date: Wed, 9 Dec 2015 09:33:37 +0000 Subject: [PATCH] Added CLUSTER FORGET command --- commands.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/commands.go b/commands.go index d3e2742..f023e48 100644 --- a/commands.go +++ b/commands.go @@ -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)