init
This commit is contained in:
16
proto/auth.proto
Normal file
16
proto/auth.proto
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user