Adding FileWillBeUploaded plugin hook (#9169)

* Adding file upload hook.

* Adding hook test for FileWillBeUploaded

* Some debugging fixes.

* Fix typo.

* Fixing double close

* Fix capitalization on docs.
Этот коммит содержится в:
Christopher Speller
2018-07-27 05:25:53 -07:00
коммит произвёл Joram Wilander
родитель 90e5e279c1
Коммит 026f0152a8
6 изменённых файлов: 203 добавлений и 9 удалений

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

@@ -355,6 +355,7 @@ func removeExcluded(info *PluginInterfaceInfo) *PluginInterfaceInfo {
"Implemented",
"LoadPluginConfiguration",
"ServeHTTP",
"FileWillBeUploaded",
}
for _, exclusion := range excluded {
if exclusion == item {