Handle shutdown correctly

This commit is contained in:
nora 2024-04-12 19:58:59 +02:00
parent 41e578e199
commit f9da7ebe43
7 changed files with 69 additions and 10 deletions

12
proto/controller.proto Normal file
View file

@ -0,0 +1,12 @@
syntax = "proto3";
package plugin;
option go_package = "./plugin";
message Empty {
}
// The GRPCController is responsible for telling the plugin server to shutdown.
service GRPCController {
rpc Shutdown(Empty) returns (Empty);
}