viewbrowser

package
Version: v0.0.0-...-b79cc66 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

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()

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL