initial commit

This commit is contained in:
Jesse Hallam 2018-07-16 16:19:59 -04:00
parent fe9c0e7188
commit 189f92c54b
No known key found for this signature in database
GPG key ID: E7959EB6518AF966
54 changed files with 9238 additions and 0 deletions

24
server/plugin.go Normal file
View file

@ -0,0 +1,24 @@
package main
import (
"github.com/mattermost/mattermost-server/plugin"
)
type Plugin struct {
plugin.MattermostPlugin
// The user to use as part of the sample plugin, created automatically if it does not exist.
Username string
// The channel to use as part of the sample plugin, created for each team automatically if it does not exist.
ChannelName string
// disabled tracks whether or not the plugin has been disabled after activation. It always starts enabled.
disabled bool
// sampleUserId is the id of the user specified above.
sampleUserId string
// sampleChannelIds maps team ids to the channels created for each using the channel name above.
sampleChannelIds map[string]string
}