You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
388 B

syntax = "proto3";
package api;
option go_package = "./api;api";
/*
* v1.0.0
* protocol
*/
message ProtoWrap {
int32 ver = 1; // version
int32 op = 2; // option/action
int32 seq = 3; // sequence
bytes body = 4; // proto bytes
}
message Ping {
}
message Pong {
}
message ReqIdentity {
string token = 1;
}
message ResIdentity {
int32 status = 1;
string msg = 2;
}