forked from lavina/lavina
1
0
Fork 0
lavina/crates/inner-api/proto/api.proto

35 lines
371 B
Protocol Buffer
Raw Normal View History

2023-12-13 14:57:49 +00:00
syntax = "proto3";
package lavina;
message HandshakeRequest {
uint32 node_id = 1;
string address = 2;
}
message HandshakeResponse {
}
message Request {
uint32 id = 1;
oneof payload {
GetNodes get_nodes = 2;
}
}
message GetNodes {
}
message ResponseNodes {
}
message Response {
uint32 id = 1;
oneof payload {
ResponseNodes nodes = 2;
}
}