func SetCurrentNode(node *ClusterTopologyNode, ct *ClusterTopology) {
	currentNode = node
	ct.AddNode(currentNode)
}
Set the current node
package cluster
import (
	"log"
	"sync"
	"time"
	"github.com/maxzerbini/ovo/util"
)
const (
	MaxNodeNumber = 128
	Active        = "ACTIVE"
	Inactive      = "INACTIVE"
)
type OvoNode struct {
	Name      string
	HashRange []int
	Host      string
	Port      int
	APIHost   string
	APIPort   int
	State     string
}
type ClusterTopologyNode struct {
	Node         *OvoNode
	StartDate    time.Time
	Twins        []string
	Stepbrothers []string
	UpdateDate   time.Time
}
type ClusterTopology struct {
	Nodes []*ClusterTopologyNode
}
var currentNode *ClusterTopologyNode
var mux *sync.RWMutex = new(sync.RWMutex)