// NewClient returns a new  Mesos information client.
// addresses has to be the the URL`s of the single nodes of the
// Mesos cluster. It is recommended to apply all nodes in case of failures.
NewClient returns a new  Mesos information client.
addresses has to be the the URL`s of the single nodes of the
Mesos cluster. It is recommended to apply all nodes in case of failures.
// NewClient returns a new Mesos information client . // addresses has to be the the URL ` s of the single nodes of the // Mesos cluster . It is recommended to apply all nodes in case of failures .
func NewClient(master *url.URL, httpClient *http.Client) *Client {
	if httpClient == nil {
		httpClient = http.DefaultClient
	}
	client := &Client{
		Master: master,
		HTTP:   httpClient,
	}
	return client
}
func NewClient ( master * url . URL , httpClient * http . Client ) * Client { if httpClient == nil { httpClient = http . DefaultClient } client := & Client { Master : master , HTTP : httpClient , } return client }
NewClient returns a new  Mesos information client.
NewClient returns a new Mesos information client .