web

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleSortOrder

func HandleSortOrder(c *fb.Context, scope string) (err error)

HandleSortOrder gets and stores for a Listing the 'sort' and 'order', and reads 'limit' if given. The latter is 0 if not given. Sets cookies.

func Handler

func Handler(m *fb.FileBrowser) http.Handler

Handler returns a function compatible with web.HandleFunc.

func ProcessParams added in v0.8.3

func ProcessParams(c *fb.Context) (isShares bool)

set router, and all other params to the context, returns true in case request are about shares

func ServeDav added in v0.8.3

func ServeDav(c *lib.Context, w http.ResponseWriter, r *http.Request)

ServeHTTP determines if the request is for this plugin, and if all prerequisites are met.

Types

This section is empty.

Jump to

Keyboard shortcuts

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