http

package
v0.0.0-...-584bad1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanSubtitle

func CleanSubtitle(filename string) (string, error)

func ErrorToHTTP

func ErrorToHTTP(err error, gone bool) int

ErrorToHTTP converts errors to HTTP Status Code.

func Handler

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

Handler returns a function compatible with http.HandleFunc.

func ReadDir

func ReadDir(dirname string) ([]os.FileInfo, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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