summaryrefslogtreecommitdiffstats
path: root/app/plugin/hooks.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/plugin/hooks.go')
-rw-r--r--app/plugin/hooks.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/plugin/hooks.go b/app/plugin/hooks.go
new file mode 100644
index 000000000..31eac0710
--- /dev/null
+++ b/app/plugin/hooks.go
@@ -0,0 +1,10 @@
+// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+package plugin
+
+// All implementations should be safe for concurrent use.
+type Hooks interface {
+ // Invoked when configuration changes may have been made
+ OnConfigurationChange()
+}