This commit is contained in:
2022-03-17 15:54:23 +08:00
commit 437c38533d
25 changed files with 6943 additions and 0 deletions

16
proto/auth.proto Normal file
View File

@@ -0,0 +1,16 @@
// protoc -I=. -I=$GOPATH/src --go_out=plugins=grpc:. *.proto
syntax = "proto3";
package imparse.auth;
option go_package = "gitlab.33.cn/chat/imparse/proto";
enum Device {
Android = 0;
IOS = 1;
}
message Login {
Device device = 1;
string username = 2;
string deviceToken = 3;
}