diff options
author | Chris <ccbrown112@gmail.com> | 2017-11-03 11:34:44 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-11-03 09:34:44 -0700 |
commit | d2cff9b77cca87c339e65591179a2d7456a6915a (patch) | |
tree | 8540cb8ded46b98e195c3517929f3f751db8e5ca /plugin/plugin.go | |
parent | 71dd21ef3d89f8967b81a6bbfa67b2c85d3ad3e0 (diff) | |
download | chat-d2cff9b77cca87c339e65591179a2d7456a6915a.tar.gz chat-d2cff9b77cca87c339e65591179a2d7456a6915a.tar.bz2 chat-d2cff9b77cca87c339e65591179a2d7456a6915a.zip |
more plugin doc updates (#7767)
Diffstat (limited to 'plugin/plugin.go')
-rw-r--r-- | plugin/plugin.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugin/plugin.go b/plugin/plugin.go new file mode 100644 index 000000000..b14ab7ced --- /dev/null +++ b/plugin/plugin.go @@ -0,0 +1,12 @@ +// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved. +// See License.txt for license information. + +// The plugin package defines the primary interfaces for interacting with a Mattermost server: the +// API and the hook interfaces. +// +// The API interface is used to perform actions. The Hook interface is used to respond to actions. +// +// Plugins should define a type that implements some of the methods from the Hook interface, then +// pass an instance of that object into the rpcplugin package's Main function (See the HelloWorld +// example.). +package plugin |