added docs to the repo
This commit is contained in:
10
docs/_examples/cluster.nodeInfo.asciidoc
Normal file
10
docs/_examples/cluster.nodeInfo.asciidoc
Normal file
@ -0,0 +1,10 @@
|
||||
.Return information about JVM
|
||||
[source,js]
|
||||
---------
|
||||
client.cluster.nodeInfo({ jvm: true })
|
||||
.then(function (response) {
|
||||
// enjoy your sweet info!
|
||||
}, function (error) {
|
||||
// scream!
|
||||
})
|
||||
---------
|
||||
Reference in New Issue
Block a user