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: "*" }; } } message Response { int32 code = 1; string msg = 2; string data = 3; } message PolicyReq { string key = 1; }