func EdgeRegisterProxy(instance, service, domain string, port int,
	host string, ips []string, text []string,
	ifaces []net.Interface) (*Server, *ServiceEntry, error) {
	edgeServiceType = service
	server, err := RegisterProxy(instance, service, domain, port, host, ips, text, ifaces)
	if err != nil {
		return nil, nil, err
	}
	err = server.EdgeAdvertise()
	if err != nil {
		return nil, nil, err
	}
	return server, server.service, err
}
EdgeRegisterProxy for Edge
package zeroconf
import (
	"log"
	"net"
	"strings"
	"errors"
	"github.com/miekg/dns"
)
var edgeServiceType string
var EdgeExportedServiceEntry chan *ServiceEntry
func EdgeGetSubscriberChan() (chan *ServiceEntry, error) {
	if EdgeExportedServiceEntry != nil {
		return nil, errors.New("Subscribe Chan is Made Before")
	}
	EdgeExportedServiceEntry = make(chan *ServiceEntry, 32)
	return EdgeExportedServiceEntry, nil
}