syntax = "proto3"; package chore; option go_package = "lone-services/rpc/chore"; import "google/api/annotations.proto"; service Chore { rpc Policy(PolicyReq) returns (Response) { option (google.api.http) = { get: "/api/v3/chore/oss/policy" body: "*" }; } rpc Test(TestReq) returns (Response) { option (google.api.http) = { post: "/api/v3/chore/test" body: "*" }; } } message Response { int32 code = 1; string msg = 2; string data = 3; } message PolicyReq { string key = 1; } message TestReq { int32 id = 1; repeated int64 ids = 2; uint32 number = 3; }