PHP » GoLang |
login |
register |
about
|
GoLang Zookeeper::getChildren
request it (676)
GoLang replacement for PHP's Zookeeper::getChildren
[edit | history]
Zookeeper::getChildren(PECL zookeeper >= 0.1.0) Zookeeper::getChildren — Lists the children of a node synchronously DescriptionParameters
Return ValuesReturns an array with children paths on success, and false on failure. Errors/ExceptionsThis method emits PHP error/warning when parameters count or types are wrong or fail to list children of a node. Caution
Since version 0.3.0, this method emits ZookeeperException and it's derivatives. ExamplesExample #1 Zookeeper::getChildren() example Lists children of a node.
<?phpThe above example will output:
array(1) {
[0]=>
string(6) "config"
}
See Also
|
more
Most requested
more
Last requests
|