[dev] init

This commit is contained in:
loveckiy.ivan
2025-11-09 11:53:39 +03:00
parent 3a45865b74
commit 61a27a8b62
6 changed files with 585 additions and 0 deletions

28
v1/plugin.proto Executable file
View 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);
}