We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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)