syntax = "proto3"; //生成 GRPC: //protoc -I MyService/Auth/AuthGrpc/AuthGrpcProto MyService/Auth/AuthGrpc/AuthGrpcProto/AuthGrpc.proto --go_out=plugins=grpc:MyService/Auth/AuthGrpc //生成 WSDL: //protoc -I MyService/Auth/AuthGrpc/AuthGrpcProto MyService/Auth/AuthGrpc/AuthGrpcProto/AuthGrpc.proto --wsdl_out=MyService/Auth/AuthWS/AuthWSWsdl package AuthGrpcProto; option go_package = "/AuthGrpcProto"; option objc_class_prefix = ""; service AuthGrpcService { //接入系统鉴权 rpc SystemAuth (Auth) returns (Result) {} } message Auth { // string SystemID = 1; // string SystemToken = 2; // string AuthTime = 3; } message Result { // bool Success = 1; // string Message = 2; }