Closed paultyng closed 4 years ago
You should have access to the server: https://pkg.go.dev/github.com/hashicorp/go-plugin?tab=doc#ServeConfig the GRPCServer
callback. This gives you a chance to register custom services.
Still, I'm not opposed to making this an always-on default either. I've CC'd in @jbardin and @briankassouf. I don't know any downsides.
Yeah, considering these are local plugins I'm fine with always on as well 👍 In the mean time we can just do this on the plugin SDK on our side in the callback, thanks for the pointer.
I don't believe the gRPC server is exposed to calling applications, so we are unable to turn on reflection.
The diff example from the gRPC docs, walks through the required changes: