func PerferredHost(info *Info) string {
	if info == nil {
		return ""
	}

	host := info.SNIHostName
	if host == "" && info.ControllerUUID != "" {
		host = info.ControllerUUID
	}
	return host
}
// PerferredHost returns the SNI hostname or controller name for the cookie URL
// so that it is stable when used with a HA controller cluster.
PerferredHost returns the SNI hostname or controller name for the cookie URL
so that it is stable when used with a HA controller cluster.
// PerferredHost returns the SNI hostname or controller name for the cookie URL // so that it is stable when used with a HA controller cluster .
func PerferredHost(info *Info) string {
	if info == nil {
		return ""
	}
	host := info.SNIHostName
	if host == "" && info.ControllerUUID != "" {
		host = info.ControllerUUID
	}
	return host
}
func PerferredHost ( info * Info ) string { if info == nil { return " " } host := info . SNIHostName if host == " " && info . ControllerUUID != " " { host = info . ControllerUUID } return host }
PerferredHost returns the SNI hostname or controller name for the cookie URL
so that it is stable when used with a HA controller cluster.
PerferredHost returns the SNI hostname or controller name for the cookie URL so that it is stable when used with a HA controller cluster .