Versions in this module Expand all Collapse all v0 v0.1.0 Jul 30, 2018 Changes in this version + func BrowseHandler(w http.ResponseWriter, r *http.Request, ps httprouter.Params) + func DeleteHandler(w http.ResponseWriter, r *http.Request, ps httprouter.Params) + func DownloadHandler(w http.ResponseWriter, r *http.Request, ps httprouter.Params) + func GetFileName(path string) string + func Init(rootDir string) + func UploadHandler(w http.ResponseWriter, r *http.Request, ps httprouter.Params) + type FileInfo struct + Dirpath string + Ext string + Filename string + Filepath string + Mime string + Stat FileStat + func GetFileInfo(path string) (FileInfo, error) + type FileStat struct + IsDir bool + ModTime time.Time + Mode os.FileMode + Name string + Size int64 + type JSONDeleteRequest struct + Paths []string + type JSONResponse struct + Data interface{} + Status int