Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ViewBrowserServer ¶
type ViewBrowserServer struct {
// contains filtered or unexported fields
}
func NewViewBrowserServer ¶
func NewViewBrowserServer() *ViewBrowserServer
NewFileBrowserServer creates new instance of filebrowser server.
func (*ViewBrowserServer) BrowseFilesHandler ¶
func (fs *ViewBrowserServer) BrowseFilesHandler(pathParams martini.Params, resp http.ResponseWriter, req *http.Request)
Gets the view name from the url, creates a directory, mount the view on the directory created, get the directories information inside the view and unmounts the view.
func (*ViewBrowserServer) GetViewsHandler ¶
func (fs *ViewBrowserServer) GetViewsHandler(resp http.ResponseWriter, req *http.Request)
func (*ViewBrowserServer) Start ¶
func (fs *ViewBrowserServer) Start()
Click to show internal directories.
Click to hide internal directories.