go-common/app/interface/live/app-interface/api/http/v1/app_conf.proto
2019-04-22 18:49:16 +08:00

19 lines
395 B
Protocol Buffer

syntax = "proto3";
package live.appinterface.v1;
option go_package = "v1";
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
service config {
rpc getConf (GetConfReq) returns (GetConfResp);
}
message GetConfReq {
string key = 1 [(gogoproto.moretags) = 'form:"key" validate:"required"'];
}
message GetConfResp {
string value = 1 [(gogoproto.moretags) = 'form:"value"'];
}