2021-01-13 09:06:45 +03:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package service;
|
2023-05-05 20:06:27 +03:00
|
|
|
option go_package="go.unistack.org/micro-config-service/v4/proto;servicepb";
|
2021-01-13 09:06:45 +03:00
|
|
|
|
2023-05-05 20:06:27 +03:00
|
|
|
service ConfigService {
|
2021-01-13 09:06:45 +03:00
|
|
|
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 {};
|