mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-17 22:30:37 +08:00
raft cluster core
This commit is contained in:
@@ -63,6 +63,10 @@ func MakeClient(addr string) (*Client, error) {
|
||||
}, nil
|
||||
}
|
||||
|
||||
func (client *Client) RemoteAddress() string {
|
||||
return client.addr
|
||||
}
|
||||
|
||||
// Start starts asynchronous goroutines
|
||||
func (client *Client) Start() {
|
||||
client.ticker = time.NewTicker(10 * time.Second)
|
||||
|
Reference in New Issue
Block a user