Cluster
Less than 1 minute
Cluster
Properties
peers
public array $peers
log
private Logger $log
config
private Map $config
Methods
__construct
public __construct({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$log | Logger | |
$config | Map |
start
public start({Array})
stop
public stop({Array})
addPeer
public addPeer({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$headers | array | |
$client | Client |
removePeer
public removePeer({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$peer | Peer |
process
public process({Array})
Generated by Hazaar API Doc Generator