Files
chain33-dtalk/service/auth/api/auth.proto
2022-03-17 15:59:24 +08:00

19 lines
332 B
Protocol Buffer

// 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);
}