go-plugins-helpers
go-plugins-helpers copied to clipboard
Expose Shutdown method for graceful stopping
This PR exposes a shutdown method on the handler to allow programs to gracefully stop the underlying http server.
Unless you pass sdk.Handler
by reference to the Serve/Shutdown methods, the http server will be lost.
See correct patch: https://github.com/ivandeex/go-plugins-helpers/commit/50db162a014d40c94c22b9164e250aea28bb198a