From d2cff9b77cca87c339e65591179a2d7456a6915a Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 3 Nov 2017 11:34:44 -0500 Subject: more plugin doc updates (#7767) --- plugin/plugin.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 plugin/plugin.go (limited to 'plugin/plugin.go') 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 -- cgit v1.2.3-1-g7c22