handlers

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUUIDFromRequest added in v0.0.8

func GetUUIDFromRequest(r *http.Request) (uuid.UUID, error)

GetUUIDFromRequest gets and parses the UUID from the request. If it's not a valid UUID, an error is returned.

func MethodOverride added in v0.0.8

func MethodOverride(next http.Handler) http.Handler

MethodOverride will check for a hidden "_method" input in the POST form, so that PUT, PATCH and DELETE requests can be supported

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