func (c baseClient) Ping() error {
	url := c.url("/")
	logger.Debugf("baseClient ping %q", url)
	resp, err := c.client.Get(url)
	if resp != nil {
		defer resp.Body.Close()
	}
	return errors.Trace(unwrapNetError(err))
}
// Ping pings the baseClient endpoint.
Ping pings the baseClient endpoint.
// Ping pings the baseClient endpoint .
func (c baseClient) Ping() error {
	url := c.url("/")
	logger.Debugf("baseClient ping %q", url)
	resp, err := c.client.Get(url)
	if resp != nil {
		defer resp.Body.Close()
	}
	return errors.Trace(unwrapNetError(err))
}
func ( c baseClient ) Ping ( ) error { url := c . url ( " " ) logger . Debugf ( " " , url ) resp , err := c . client . Get ( url ) if resp != nil { defer resp . Body . Close ( ) } return errors . Trace ( unwrapNetError ( err ) ) }
Ping pings the baseClient endpoint.
Ping pings the baseClient endpoint .