micro-config-service/proto/service.proto
Vasiliy Tolstov 67d5795e89 move to micro v4
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-05-05 20:06:27 +03:00

25 lines
430 B
Protocol Buffer

syntax = "proto3";
package service;
option go_package="go.unistack.org/micro-config-service/v4/proto;servicepb";
service ConfigService {
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 {};