mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-30 22:22:02 +02:00
Plugin runtime v2 (#62)
This commit is contained in:
@@ -3,10 +3,7 @@ syntax = "proto3";
|
||||
package yaak.plugins.runtime;
|
||||
|
||||
service PluginRuntime {
|
||||
rpc hookImport (HookImportRequest) returns (HookResponse);
|
||||
rpc hookExport (HookExportRequest) returns (HookResponse);
|
||||
rpc hookResponseFilter (HookResponseFilterRequest) returns (HookResponse);
|
||||
}
|
||||
rpc EventStream (stream EventStreamEvent) returns (stream EventStreamEvent);}
|
||||
|
||||
message PluginInfo {
|
||||
string plugin = 1;
|
||||
@@ -30,3 +27,7 @@ message HookResponseFilterRequest {
|
||||
message HookExportRequest {
|
||||
string request = 1;
|
||||
}
|
||||
|
||||
message EventStreamEvent {
|
||||
string event = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user