summaryrefslogtreecommitdiffstats
path: root/plugin/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/api.go')
-rw-r--r--plugin/api.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/api.go b/plugin/api.go
index 2f8c6dcc5..c4230860f 100644
--- a/plugin/api.go
+++ b/plugin/api.go
@@ -34,6 +34,9 @@ type API interface {
// SaveConfig sets the given config and persists the changes
SaveConfig(config *model.Config) *model.AppError
+ // GetServerVersion return the current Mattermost server version
+ GetServerVersion() string
+
// CreateUser creates a user.
CreateUser(user *model.User) (*model.User, *model.AppError)