app_conf.proto 395 B

12345678910111213141516171819
  1. syntax = "proto3";
  2. package live.appinterface.v1;
  3. option go_package = "v1";
  4. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  5. service config {
  6. rpc getConf (GetConfReq) returns (GetConfResp);
  7. }
  8. message GetConfReq {
  9. string key = 1 [(gogoproto.moretags) = 'form:"key" validate:"required"'];
  10. }
  11. message GetConfResp {
  12. string value = 1 [(gogoproto.moretags) = 'form:"value"'];
  13. }