Download Evaluate/projects/libp2p/rust/protocols/floodsub/src/generated/rpc.proto from SYSUSELab/RustRepoTrans: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/datasets/SYSUSELab/RustRepoTrans/resolve/main/Evaluate/projects/libp2p/rust/protocols/floodsub/src/generated/rpc.proto
- Command line
-
hf download hf://datasets/SYSUSELab/RustRepoTrans/Evaluate/projects/libp2p/rust/protocols/floodsub/src/generated/rpc.proto
-
curl -L -o rpc.proto https://huggingface.co/datasets/SYSUSELab/RustRepoTrans/resolve/main/Evaluate/projects/libp2p/rust/protocols/floodsub/src/generated/rpc.proto
371 Bytes
| syntax = "proto2"; | |
| package floodsub.pb; | |
| message RPC { | |
| repeated SubOpts subscriptions = 1; | |
| repeated Message publish = 2; | |
| message SubOpts { | |
| optional bool subscribe = 1; // subscribe or unsubcribe | |
| optional string topic_id = 2; | |
| } | |
| } | |
| message Message { | |
| optional bytes from = 1; | |
| optional bytes data = 2; | |
| optional bytes seqno = 3; | |
| repeated string topic_ids = 4; | |
| } | |