示例#1
0
文件: main.go 项目: newgogo/Exis
//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)
}
示例#2
0
文件: main.go 项目: newgogo/Exis
func (d *Domain) Unregister(endpoint string, cb uint64, eb uint64) {
	go core.MantleUnregister(d.coreDomain, endpoint, cb, eb)
}