diff options
author | Chris <ccbrown112@gmail.com> | 2017-12-05 08:19:32 -0600 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-12-05 09:19:32 -0500 |
commit | 3c7b40063dbba777d27efd2fa4c7093d5507dca6 (patch) | |
tree | 81b77acde7ae6eb2909e2d99782f51f4989dd5cf /plugin/supervisor.go | |
parent | 7a1f81cd52c4b58a058ae11e361a80ee3b24d141 (diff) | |
download | chat-3c7b40063dbba777d27efd2fa4c7093d5507dca6.tar.gz chat-3c7b40063dbba777d27efd2fa4c7093d5507dca6.tar.bz2 chat-3c7b40063dbba777d27efd2fa4c7093d5507dca6.zip |
call OnActivate after plugin crash, update example (#7940)
Diffstat (limited to 'plugin/supervisor.go')
-rw-r--r-- | plugin/supervisor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/supervisor.go b/plugin/supervisor.go index 76f20eaee..6cb7445f7 100644 --- a/plugin/supervisor.go +++ b/plugin/supervisor.go @@ -6,7 +6,7 @@ package plugin // Supervisor provides the interface for an object that controls the execution of a plugin. This // type is only relevant to the server, and isn't used by the plugins themselves. type Supervisor interface { - Start() error + Start(API) error Stop() error Hooks() Hooks } |