prototype...

This commit is contained in:
open-trade
2020-03-06 17:18:22 +08:00
parent d188a5f5ea
commit 1695b5e357
11 changed files with 1045 additions and 10 deletions

9
protos/message.proto Normal file
View File

@@ -0,0 +1,9 @@
syntax = "proto3";
package hbb;
message Message {
string addr = 1; // hbb address
oneof union {
bytes socket_addr = 6;
}
}

2
protos/mod.rs Normal file
View File

@@ -0,0 +1,2 @@
mod message;
pub use message::*;