func (client *Client) GetHostTags(host, source string) ([]string, error) {
	var out reqGetHostTags
	uri := "/v1/tags/hosts/" + host
	if source != "" {
		uri += "?source=" + source
	}
	if err := client.doJsonRequest("GET", uri, nil, &out); err != nil {
		return nil, err
	}
	return out.Tags, nil
}
func (client *Client) GetHostTags(host, source string) ([]string, error) {
	var out reqGetHostTags
	uri := "/v1/tags/hosts/" + host
	if source != "" {
		uri += "?source=" + source
	}
	if err := client.doJsonRequest("GET", uri, nil, &out); err != nil {
		return nil, err
	}
	return out.Tags, nil
}
func ( client * Client ) GetHostTags ( host , source string ) ( [ ] string , error ) { var out reqGetHostTags uri := " " + host if source != " " { uri += " " + source } if err := client . doJsonRequest ( " " , uri , nil , & out ) ; err != nil { return nil , err } return out . Tags , nil }
// GetHostTags returns a slice of tags for a given host and source.
GetHostTags returns a slice of tags for a given host and source .