browse

package
v0.0.0-...-a9ba42c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2016 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DELETE

func DELETE(w http.ResponseWriter, r *http.Request, c *config.Config) (int, error)

DELETE handles the delete requests on browse pages

func GET

GET handles the GET method on browse page and shows the files listing Using the Browse Caddy middleware.

func POST

func POST(w http.ResponseWriter, r *http.Request, c *config.Config) (int, error)

POST handles the POST method on browse page. It's used to create new files, folders and upload content.

func PUT

PUT handles the HTTP PUT request for all /admin/browse related requests. Renames a file and/or a folder.

func ServeHTTP

func ServeHTTP(w http.ResponseWriter, r *http.Request, c *config.Config) (int, error)

ServeHTTP is used to serve the content of Browse page using Browse middleware from Caddy. It handles the requests for DELETE, POST, GET and PUT related to /browse interface.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL