util/srv/client.go
func GetURL(conf *Config, path string) string {
	var proto = "http"
	if conf.TLS != nil {
		proto += "s"
	}

	return proto + "://" + conf.Addr + path
}
func GetURL(conf *Config, path string) string {
	var proto = "http"
	if conf.TLS != nil {
		proto += "s"
	}

	return proto + "://" + conf.Addr + path
}
func GetURL ( conf * Config , path string ) string { var proto = " " if conf . TLS != nil { proto += " " } return proto + " " + conf . Addr + path }
// GetURL returns a server URL for a given path.
GetURL returns a server URL for a given path .