page

package
v0.0.0-...-732bfc7 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive

func Archive(api *razbox.API) *beepboop.Page

Archive returns a beepboop.Page that visualizes archive files

func CreateSubfolder

func CreateSubfolder(api *razbox.API) *beepboop.Page

CreateSubfolder returns a beepboop.Page that handles subfolder creation

func Delete

func Delete(api *razbox.API) *beepboop.Page

Delete returns a beepboop.Page that handles deletes

func DeleteSubfolder

func DeleteSubfolder(api *razbox.API) *beepboop.Page

DeleteSubfolder returns a beepboop.Page that handles subfolder deletion

func Download

func Download(api *razbox.API) *beepboop.Page

Download returns a beepboop.Page that handles file downloads from an URL to a folder

func Edit

func Edit(api *razbox.API) *beepboop.Page

Edit returns a beepboop.Page that handles edits

func Folder

func Folder(api *razbox.API) *beepboop.Page

Folder returns a beepboop.Page that handles folders

func Gallery(api *razbox.API) *beepboop.Page

Gallery returns a beepboop.Page that handles galleries

func GetContentTemplate

func GetContentTemplate(page string) string

GetContentTemplate returns the content template for a page

func HandleError

func HandleError(r *http.Request, err error) *beepboop.View

HandleError ...

func Password

func Password(api *razbox.API) *beepboop.Page

Password returns a beepboop.Page that handles password change for folders

func ReadAuth

func ReadAuth(api *razbox.API) *beepboop.Page

ReadAuth returns a beepboop.Page that handles authentication for read access

func ServeThumbnail

func ServeThumbnail(thumb *razbox.Thumbnail) *beepboop.View

ServeThumbnail ...

func Static

func Static() *beepboop.Page

Static returns a beepboop.Page that handles static assets

func Text

func Text(api *razbox.API) *beepboop.Page

Text returns a beepboop.Page that visualizes text files

func Thumbnail

func Thumbnail(api *razbox.API) *beepboop.Page

Thumbnail returns a beepboop.Page that handles image file thumbnails

func Upload

func Upload(api *razbox.API) *beepboop.Page

Upload returns a beepboop.Page that handles file uploads

func Welcome

func Welcome(defaultFolder string) *beepboop.Page

Welcome returns a beepboop.Page that redirects the visitor to the default folder

func WriteAuth

func WriteAuth(api *razbox.API) *beepboop.Page

WriteAuth returns a beepboop.Page that handles authentication for read access

Types

This section is empty.

Jump to

Keyboard shortcuts

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