added the GetSeed() call and handled more events
This commit is contained in:
@ -5,9 +5,15 @@ option go_package = "./main";
|
||||
//package hodu; // no idea if it's still important...
|
||||
|
||||
service Hodu {
|
||||
rpc GetSeed (Seed) returns (Seed) {}
|
||||
rpc PacketStream (stream Packet) returns (stream Packet) {}
|
||||
}
|
||||
|
||||
message Seed {
|
||||
uint32 Version = 1;
|
||||
uint64 Flags = 2;
|
||||
}
|
||||
|
||||
enum ROUTE_PROTO {
|
||||
TCP = 0;
|
||||
TCP4 = 1;
|
||||
|
Reference in New Issue
Block a user