code: func (p *AWSSDProvider) parseHostname(hostname string) (namespace string, service string) {
  	parts := strings.Split(hostname, ".")
  	service = parts[0]
  	namespace = strings.Join(parts[1:], ".")
  	return
  }
docs: // parse hostname to namespace (domain) and service