Files
lone-services/rpc/chore/chore.proto
T
2026-08-24 15:57:08 +08:00

24 lines
400 B
Protocol Buffer

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;
}