16 lines
297 B
Protocol Buffer
16 lines
297 B
Protocol Buffer
// protoc -I=. -I=$GOPATH/src --go_out=plugins=grpc:. *.proto
|
|
syntax = "proto3";
|
|
|
|
package dtalk.generator;
|
|
option go_package = "gitlab.33.cn/chat/dtalk/service/generator";
|
|
|
|
message Empty{}
|
|
|
|
message GetIDReply {
|
|
int64 id = 1;
|
|
}
|
|
|
|
service Generator {
|
|
rpc GetID(Empty) returns (GetIDReply);
|
|
}
|