hashicorp / hashicorp/go-plugin

Callback when a plugin dies

Open
#92 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
6.1k
Forks
511
Avg merge
22h 47m
Merged PRs (30d)
4

Description

Hey all, I'm trying to make the system I'm building more stable, so I'm at the point where my app should know when a plugin crashes, in order to change a state variable.

Apparently there's no mechanism for getting the event (still it's logged), so I use at the moment the `Ping()` function of the RPC client.

Is there a way to get the plugin lifecycle events to make things a bit more clean? A callback like `OnModuleKill` would be perfect.
Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.