func (client *Client) SearchHosts(search string) ([]string, error) {
	var out reqSearch
	if err := client.doJsonRequest("GET", "/v1/search?q=hosts:"+search, nil, &out); err != nil {
		return nil, err
	}
	return out.Results.Hosts, nil
}
func (client *Client) SearchHosts(search string) ([]string, error) {
	var out reqSearch
	if err := client.doJsonRequest("GET", "/v1/search?q=hosts:"+search, nil, &out); err != nil {
		return nil, err
	}
	return out.Results.Hosts, nil
}
func ( client * Client ) SearchHosts ( search string ) ( [ ] string , error ) { var out reqSearch if err := client . doJsonRequest ( " " , " " + search , nil , & out ) ; err != nil { return nil , err } return out . Results . Hosts , nil }
// SearchHosts searches through the hosts facet, returning matching hostnames.
SearchHosts searches through the hosts facet returning matching hostnames .