[dev] init
This commit is contained in:
28
v1/plugin.proto
Executable file
28
v1/plugin.proto
Executable file
@@ -0,0 +1,28 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package collector;
|
||||
|
||||
option go_package = ".";
|
||||
|
||||
message ExecIn {
|
||||
string service = 1;
|
||||
string method = 2;
|
||||
string params = 3;
|
||||
}
|
||||
|
||||
message ExecOut {
|
||||
string result = 1;
|
||||
string id = 2;
|
||||
}
|
||||
|
||||
message ServicesIn {
|
||||
}
|
||||
|
||||
message ServicesOut {
|
||||
repeated string list = 1;
|
||||
}
|
||||
|
||||
service Collector {
|
||||
rpc Exec(ExecIn) returns (ExecOut);
|
||||
rpc Services(ServicesIn) returns (ServicesOut);
|
||||
}
|
||||
Reference in New Issue
Block a user