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