mirror of
https://github.com/vacp2p/rfc.git
synced 2025-02-10 05:55:03 +00:00
Fix syntax and propose terminology change (#371)
* Add proto version and fix syntax * Add GH action to automatically add issues to the project board
This commit is contained in:
parent
28696d6ee0
commit
5124a232e6
@ -19,20 +19,22 @@ Additionally, there sometimes is a need for confirmation that a message has been
|
|||||||
# Payloads
|
# Payloads
|
||||||
|
|
||||||
```protobuf
|
```protobuf
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
message PushRequest {
|
message PushRequest {
|
||||||
string pubsub_topic = 1;
|
string pubsub_topic = 1;
|
||||||
WakuMessage message = 2;
|
WakuMessage message = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PushResponse {
|
message PushResponse {
|
||||||
boolean is_success = 1;
|
bool is_success = 1;
|
||||||
// Error messages, etc
|
// Error messages, etc
|
||||||
string info = 2;
|
string info = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message PushRPC {
|
message PushRPC {
|
||||||
string request_id = 1;
|
string request_id = 1;
|
||||||
PushRequest query = 2;
|
PushRequest request = 2;
|
||||||
PushResponse response = 3;
|
PushResponse response = 3;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user