github.com/micro/go-micro/v2@v2.9.1/server/grpc/proto/test.proto (about)

     1  syntax = "proto3";
     2  
     3  import "google/api/annotations.proto";
     4  
     5  service Test {
     6  	rpc Call(Request) returns (Response) {
     7      option (google.api.http) = { post: "/api/v0/test/call/{uuid}"; body:"*"; };
     8  	};
     9  	rpc CallPcre(Request) returns (Response) {
    10      option (google.api.http) = { post: "^/api/v0/test/call/pcre/?$"; body:"*"; };
    11  	};
    12  	rpc CallPcreInvalid(Request) returns (Response) {
    13      option (google.api.http) = { post: "^/api/v0/test/call/pcre/invalid/?"; body:"*"; };
    14  	};
    15  }
    16  
    17  message Request {
    18    string uuid = 1;
    19  	string name = 2;
    20  }
    21  
    22  message Response {
    23  	string msg = 1;
    24  }