syntax = "proto3";
package KPProto.Msg;
option go_package = "github.com/bytelang/kplayer/types/core/proto/msg";
import "gogoproto/gogo.proto";
message MessagePlugin {
string path = 1;
string unique = 2;
map<string, string> params = 4;
}
message EventMessagePluginAdd {
MessagePlugin plugin = 1 [(gogoproto.nullable) = true];
string error = 2;
}
message EventMessagePluginRemove {
MessagePlugin plugin = 1 [(gogoproto.nullable) = true];
string error = 2;
}
message EventMessagePluginList {
repeated MessagePlugin plugins = 1 [(gogoproto.nullable) = true];
string error = 2;
}
message EventMessagePluginUpdate {
MessagePlugin plugin = 1 [(gogoproto.nullable) = true];
string error = 2;
}