mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
17 lines
267 B
Go
17 lines
267 B
Go
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)
|
|
}
|