18 lines
259 B
Protocol Buffer
Raw Normal View History

2016-12-13 10:36:55 +01:00
syntax = "proto3";
2016-12-13 10:27:52 +01:00
package session;
service SessionService {
rpc Login(LoginRequest) returns (LoginResponse) {}
}
message LoginRequest {
string username = 1;
string password = 2;
}
message LoginResponse {
string token = 1;
string err_msg = 2;
}