mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-04 05:43:06 +00:00
21 lines
257 B
Protocol Buffer
21 lines
257 B
Protocol Buffer
|
|
package floodsub.pb;
|
||
|
|
|
||
|
|
message RPC {
|
||
|
|
optional string type = 1;
|
||
|
|
|
||
|
|
repeated string topics = 2;
|
||
|
|
|
||
|
|
optional Message msg = 3;
|
||
|
|
}
|
||
|
|
|
||
|
|
message Message {
|
||
|
|
optional string from = 1;
|
||
|
|
|
||
|
|
optional bytes data = 2;
|
||
|
|
|
||
|
|
optional uint64 seqno = 3;
|
||
|
|
|
||
|
|
optional string topic = 4;
|
||
|
|
}
|
||
|
|
|