We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Couldn't load subscription status. Retry
There was an error while loading. Please reload this page.
The ElasticsearchVersion shortcut returns the Elasticsearch version of a specific node.
ElasticsearchVersion
version, err := client.ElasticsearchVersion("http://192.168.1.10/") if err != nil { // Handle error panic(err) } fmt.Printf("Elasticsearch version %s", version)