summaryrefslogtreecommitdiffstats
path: root/plugin/supervisor.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-12-05 08:19:32 -0600
committerJoram Wilander <jwawilander@gmail.com>2017-12-05 09:19:32 -0500
commit3c7b40063dbba777d27efd2fa4c7093d5507dca6 (patch)
tree81b77acde7ae6eb2909e2d99782f51f4989dd5cf /plugin/supervisor.go
parent7a1f81cd52c4b58a058ae11e361a80ee3b24d141 (diff)
downloadchat-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.go2
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
}