func main() { data := 0 go func() { data = 1 C.Notify() }() C.Wait() _ = data }
func Notify(cli *_Ctype_pc_client_t) { js := C.Add(C.CString("content"), C.CString("hi all")) C.Notify(cli, C.CString("chat.chatHandler.notifyall"), js) }