first commit
This commit is contained in:
18
service/auth/api/auth.proto
Normal file
18
service/auth/api/auth.proto
Normal file
@@ -0,0 +1,18 @@
|
||||
// protoc -I=. -I=$GOPATH/src --go_out=plugins=grpc:. *.proto
|
||||
syntax = "proto3";
|
||||
|
||||
package dtalk.auth;
|
||||
option go_package = "gitlab.33.cn/chat/dtalk/service/auth";
|
||||
|
||||
message AuthRequest{
|
||||
string appid = 1;
|
||||
string token = 2;
|
||||
}
|
||||
|
||||
message AuthReply {
|
||||
string uid = 1;
|
||||
}
|
||||
|
||||
service Auth {
|
||||
rpc DoAuth(AuthRequest) returns (AuthReply);
|
||||
}
|
||||
Reference in New Issue
Block a user