grpc: removed add hook and get gooks, can be achieved with get session and start session
This commit is contained in:
parent
634341dd03
commit
f271b0289e
6 changed files with 0 additions and 184 deletions
|
@ -66,12 +66,6 @@ service CoreApi {
|
|||
rpc DeleteLink (DeleteLinkRequest) returns (DeleteLinkResponse) {
|
||||
}
|
||||
|
||||
// hook rpc
|
||||
rpc GetHooks (GetHooksRequest) returns (GetHooksResponse) {
|
||||
}
|
||||
rpc AddHook (AddHookRequest) returns (AddHookResponse) {
|
||||
}
|
||||
|
||||
// mobility rpc
|
||||
rpc GetMobilityConfigs (mobility.GetMobilityConfigsRequest) returns (mobility.GetMobilityConfigsResponse) {
|
||||
}
|
||||
|
@ -492,23 +486,6 @@ message DeleteLinkResponse {
|
|||
bool result = 1;
|
||||
}
|
||||
|
||||
message GetHooksRequest {
|
||||
int32 session_id = 1;
|
||||
}
|
||||
|
||||
message GetHooksResponse {
|
||||
repeated Hook hooks = 1;
|
||||
}
|
||||
|
||||
message AddHookRequest {
|
||||
int32 session_id = 1;
|
||||
Hook hook = 2;
|
||||
}
|
||||
|
||||
message AddHookResponse {
|
||||
bool result = 1;
|
||||
}
|
||||
|
||||
message SaveXmlRequest {
|
||||
int32 session_id = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue