func NewCatNodesService(client *Client) *CatNodesService {
	return &CatNodesService{
		client: client,
		format: "json",
	}
}
NewCatNodesService creates a new CatNodesService.
package elastic
import (
	"context"
	"fmt"
	"net/url"
)
type CatNodesService struct {
	client        *Client
	format        string
	local         *bool
	masterTimeout string
}