mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-01 11:18:08 +08:00
26 lines
564 B
Protocol Buffer
26 lines
564 B
Protocol Buffer
syntax = "proto3";
|
|
package pb;
|
|
|
|
service AppRuntimeSync {
|
|
rpc GetAppStatus (StatusRequest) returns (StatusMessage) {}
|
|
rpc SetAppStatus (StatusMessage) returns (ErrorMessage) {}
|
|
rpc CheckAppStatus (StatusRequest) returns (ErrorMessage) {}
|
|
rpc IgnoreDeleteEvent (Ignore) returns (ErrorMessage) {}
|
|
rpc RmIgnoreDeleteEvent (Ignore) returns (ErrorMessage) {}
|
|
}
|
|
|
|
message Ignore {
|
|
string name = 1;
|
|
}
|
|
|
|
message StatusRequest {
|
|
string service_ids = 1;
|
|
}
|
|
|
|
message StatusMessage {
|
|
map<string, string> status = 1;
|
|
}
|
|
|
|
message ErrorMessage {
|
|
string message = 1;
|
|
} |