* add some plugin docs

* one more comment

* spacing

* example simplification
Этот коммит содержится в:
Chris
2017-11-02 16:23:41 -05:00
коммит произвёл Joram Wilander
родитель 8e81ded9ba
Коммит fed5324ce5
3 изменённых файлов: 47 добавлений и 1 удалений

Просмотреть файл

@@ -7,6 +7,8 @@ import (
"github.com/mattermost/mattermost-server/model"
)
// API implementations can be used to retrieve data or perform actions on behalf of the plugin. Most
// methods have direct counterparts in the REST API and very similar behavior.
type API interface {
// LoadPluginConfiguration loads the plugin's configuration. dest should be a pointer to a
// struct that the configuration JSON can be unmarshalled to.