Example #1
0
File: main.go Project: 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)
}
Example #2
0
File: main.go Project: newgogo/Exis
func (d *Domain) Unsubscribe(endpoint string, cb uint64, eb uint64) {
	go core.MantleUnsubscribe(d.coreDomain, endpoint, cb, eb)
}