Commands and such

This commit is contained in:
Henrique Dias
2017-07-12 16:18:13 +01:00
parent 45b4ec5a43
commit 729064ffc8
8 changed files with 98 additions and 19 deletions

View File

@@ -278,7 +278,6 @@ func (m *FileManager) RegisterEventType(name string) error {
// ServeHTTP determines if the request is for this plugin, and if all prerequisites are met.
func (m *FileManager) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) {
// TODO: Handle errors here and make it compatible with http.Handler
code, err := serveHTTP(&RequestContext{
FM: m,
User: nil,