micro-config-service/proto/service.proto
Vasiliy Tolstov e56722b03e regen with never protoc-gen-go
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-22 08:59:52 +03:00

25 lines
429 B
Protocol Buffer

syntax = "proto3";
package service;
option go_package="github.com/unistack-org/micro-config-service/v3/proto;service";
service Config {
rpc Load(LoadRequest) returns (LoadResponse) {};
rpc Save(SaveRequest) returns (SaveResponse) {};
}
message LoadRequest {
string service = 1;
};
message LoadResponse {
bytes config = 1;
};
message SaveRequest {
string service = 1;
bytes config = 2;
};
message SaveResponse {};