// Return the target (hostname/XName) of a TRS task.
Return the target (hostname/XName) of a TRS task.
// Return the target ( hostname / XName ) of a TRS task .
func targFromTask(tp *trsapi.HttpTask) string {
	if tp.Request == nil {
		return "BADURL"
	}
	return tp.Request.URL.Host
}
func targFromTask ( tp * trsapi . HttpTask ) string { if tp . Request == nil { return " " } return tp . Request . URL . Host }
Return the target (hostname/XName) of a TRS task.
Return the target ( hostname / XName ) of a TRS task .