Skip to content

Commit

Permalink
Added CLUSTER FORGET command
Browse files Browse the repository at this point in the history
  • Loading branch information
dim committed Dec 9, 2015
1 parent ba9dda7 commit 397440d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 397440d

Please sign in to comment.