PHP » GoLang |
login |
register |
about
|
GoLang TokyoTyrant::setMaster
request it (307)
GoLang replacement for PHP's TokyoTyrant::setMaster
[edit | history]
TokyoTyrant::setMaster(PECL tokyo_tyrant >= 0.1.0) TokyoTyrant::setMaster — Set the replication master Description
public mixed TokyoTyrant::setMaster
( string
$host
, int $port
, int $timestamp
[, bool $check_consistency = TRUE
] )Sets the replication master of the database Warning
This method is not supported on 32bit platforms. Parameters
Return ValuesThis method returns the current object and throws TokyoTyrantException on failure. Examples
Example #1 TokyoTyrant::setMaster() example
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|