// Hosts returns a list of the hosts in the cluster including their ID,
// URL, and which is the coordinator.
Hosts returns a list of the hosts in the cluster including their ID,
URL, and which is the coordinator.
// Hosts returns a list of the hosts in the cluster including their ID // URL and which is the coordinator .
func (api *API) Hosts(ctx context.Context) []*Node {
	span, _ := tracing.StartSpanFromContext(ctx, "API.Hosts")
	defer span.Finish()
	return api.cluster.Nodes()
}
func ( api * API ) Hosts ( ctx context . Context ) [ ] * Node { span , _ := tracing . StartSpanFromContext ( ctx , " " ) defer span . Finish ( ) return api . cluster . Nodes ( ) }
Hosts returns a list of the hosts in the cluster including their ID,
URL, and which is the coordinator.
Hosts returns a list of the hosts in the cluster including their ID URL and which is the coordinator .