syntax = "proto3"; import "google/protobuf/empty.proto"; option go_package = "github.com/Neur0toxine/sshpoke/pkg/plugin/pb"; option java_multiple_files = true; service PluginService { rpc Event (google.protobuf.Empty) returns (stream EventMessage); rpc EventStatus (EventStatusMessage) returns (google.protobuf.Empty); } enum EventType { EVENT_START = 0; EVENT_STOP = 1; EVENT_SHUTDOWN = 2; EVENT_UNKNOWN = 3; } message Container { string ip = 1; uint32 port = 2; string server = 3; string prefix = 4; string domain = 5; } message EventMessage { EventType type = 1; string id = 2; Container container = 3; } message EventStatusMessage { string id = 1; string error = 2; string domain = 3; }