filebrowser/filemanager.go

17 lines
267 B
Go
Raw Normal View History

2016-06-10 13:36:43 +00:00
package filemanager
import (
"net/http"
"github.com/mholt/caddy/caddyhttp/httpserver"
)
type FileManager struct {
Next httpserver.Handler
}
func (f FileManager) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) {
return f.Next.ServeHTTP(w, r)
}