http

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanSubtitle added in v1.10.0

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 added in v1.10.0

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