pkg/srv/srv.go
func GetSRVService(service, serviceName string, scheme string) (SRVService string) {
	if scheme == "https" {
		service = fmt.Sprintf("%s-ssl", service)
	}

	if serviceName != "" {
		return fmt.Sprintf("%s-%s", service, serviceName)
	}
	return service
}
func GetSRVService(service, serviceName string, scheme string) (SRVService string) {
	if scheme == "https" {
		service = fmt.Sprintf("%s-ssl", service)
	}

	if serviceName != "" {
		return fmt.Sprintf("%s-%s", service, serviceName)
	}
	return service
}
func GetSRVService ( service , serviceName string , scheme string ) ( SRVService string ) { if scheme == " " { service = fmt . Sprintf ( " " , service ) } if serviceName != " " { return fmt . Sprintf ( " " , service , serviceName ) } return service }
// GetSRVService generates a SRV service including an optional suffix.
GetSRVService generates a SRV service including an optional suffix .