web

package
v0.0.0-...-52bee24 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorWrap

func ErrorWrap(handler AppHandler) func(http.ResponseWriter, *http.Request)

func HandleFileList

func HandleFileList(w http.ResponseWriter, r *http.Request) error

Types

type AppHandler

type AppHandler func(http.ResponseWriter, *http.Request) error

type PathError

type PathError string

func (*PathError) Error

func (p *PathError) Error() string

func (*PathError) Message

func (p *PathError) Message() string

type WebError

type WebError interface {
	error
	Message() string
}

Jump to

Keyboard shortcuts

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