Add some plugin docs (#7757)
* add some plugin docs * one more comment * spacing * example simplification
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
8e81ded9ba
Коммит
fed5324ce5
@@ -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.
|
||||
|
||||
Ссылка в новой задаче
Block a user