generate facade service
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package frontend;
|
||||
|
||||
option go_package = "/facade";
|
||||
|
||||
import "api.proto";
|
||||
|
||||
service FrontendService {
|
||||
rpc Login(LoginReq) returns (LoginResp) {}
|
||||
}
|
||||
|
||||
message LoginReq {
|
||||
string username = 1;
|
||||
string password = 2;
|
||||
}
|
||||
|
||||
message LoginResp {
|
||||
string token = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user