29 lines
385 B
Protocol Buffer
Executable File
29 lines
385 B
Protocol Buffer
Executable File
syntax = "proto3";
|
|
|
|
package plugin;
|
|
|
|
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);
|
|
}
|