示例#1
0
文件: main.go 项目: newgogo/Exis
//export Unsubscribe
func Unsubscribe(pdomain unsafe.Pointer, endpoint *C.char, cb uint64, eb uint64) {
	d := *(*core.Domain)(pdomain)
	go core.MantleUnsubscribe(d, C.GoString(endpoint), cb, eb)
}
示例#2
0
文件: main.go 项目: newgogo/Exis
func (d *Domain) Unsubscribe(endpoint string, cb uint64, eb uint64) {
	go core.MantleUnsubscribe(d.coreDomain, endpoint, cb, eb)
}