// Adds a specific IP address and port as work peer for node until restart (>= v8.0).
// Returns true if work peer was added successfully.
// Requires enable_control.
Adds a specific IP address and port as work peer for node until restart (>= v8.0).
Returns true if work peer was added successfully.
Requires enable_control.
// Adds a specific IP address and port as work peer for node until restart ( > = v8 . 0 ) . // Returns true if work peer was added successfully . // Requires enable_control .
func AddWorkPeer(address, port string) (bool, error) {
	payload := map[string]interface{}{
		"address": address,
		"port":    port,
	}
	return client.isSuccess("work_peer_add", payload, "")
}
func AddWorkPeer ( address , port string ) ( bool , error ) { payload := map [ string ] interface { } { " " : address , " " : port , } return client . isSuccess ( " " , payload , " " ) }
Adds a specific IP address and port as work peer for node until restart (>= v8.0).
Adds a specific IP address and port as work peer for node until restart ( > = v8 . 0 ) .