initial changes (not yet working)

This commit is contained in:
Gabriel mermelstein 2024-12-11 17:50:27 +01:00
parent 81b59bcbeb
commit 376d53dbc7
No known key found for this signature in database
GPG Key ID: 82B8134785FEAE0D

View File

@ -446,6 +446,11 @@ func GoCallback(ret C.int, msg *C.char, len C.size_t, resp unsafe.Pointer) {
}
}
type MessageData struct {
Msg pb.WakuMessage
PubsubTopic string
}
// WakuNode represents an instance of an nwaku node
type WakuNode struct {
wakuCtx unsafe.Pointer