Example #1
0
File: main.go Project: newgogo/Exis
//export Receive
func Receive(pdomain unsafe.Pointer) []byte {
	d := *(*core.Domain)(pdomain)
	return []byte(core.MantleMarshall(d.GetApp().CallbackListen()))
}
Example #2
0
File: main.go Project: newgogo/Exis
// Blocks on callbacks from the core
func (d *Domain) Receive() string {
	return core.MantleMarshall(d.coreDomain.GetApp().CallbackListen())
}