Updated read/writes, fully using buffers now.
This commit is contained in:
@@ -2,14 +2,24 @@ syntax="proto3";
|
||||
|
||||
package main;
|
||||
|
||||
option go_package = "./";
|
||||
option go_package = "./pb";
|
||||
|
||||
message Coordinates {
|
||||
double X=1;
|
||||
double Y=2;
|
||||
}
|
||||
|
||||
message ClientData {
|
||||
string Address = 1;
|
||||
string Name = 2;
|
||||
message Coordinates {
|
||||
double X=1;
|
||||
double Y=2;
|
||||
}
|
||||
Coordinates coordinates = 4;
|
||||
Coordinates coordinates = 3;
|
||||
}
|
||||
|
||||
message ClientCoordinates {
|
||||
string Name = 1;
|
||||
Coordinates coordinates = 2;
|
||||
}
|
||||
|
||||
message AllClients{
|
||||
repeated ClientData Clients = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user