handle

package
v0.0.100 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbortWithErr

func AbortWithErr(w http.ResponseWriter, err error)

func AbortWithErrCode

func AbortWithErrCode(w http.ResponseWriter, code int, err error)

func ParseRequest

func ParseRequest(w http.ResponseWriter, r *http.Request, req interface{}) error

func ResponseJSON

func ResponseJSON(w http.ResponseWriter, data interface{})

func Wrap

func Wrap(handler interface{}) func(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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