//export Unregister func Unregister(pdomain unsafe.Pointer, endpoint *C.char, cb uint64, eb uint64) { d := *(*core.Domain)(pdomain) go core.MantleUnregister(d, C.GoString(endpoint), cb, eb) }
func (d *Domain) Unregister(endpoint string, cb uint64, eb uint64) { go core.MantleUnregister(d.coreDomain, endpoint, cb, eb) }