package
0.1.0
Repository: https://github.com/bleenco/sharebox.git
Documentation: pkg.go.dev

# Functions

BrowseHandler finds a glob of files in directory and returns as JSON output.
DeleteHandler accepts array of paths and delete them on disk.
DownloadHandler reads a file and send it contents to response writer.
GetFileInfo returns info of the file or error if occurs.
GetFileName returns filename from path.
Init initializes file manager.
UploadHandler reads a file from HTTP request and save it to disk.

# Structs

FileInfo structure holds data of file.
FileStat structure holds stat data of a file.
JSONDeleteRequest holds data structure for delete post request.
JSONResponse holds data structure for responses.