package
0.0.0-20240331083713-54d5358c3257
Repository: https://github.com/davecheney/pub.git
Documentation: pkg.go.dev
# Functions
Error is a convenience function for returning an error with an associated HTTP status code.
HandlerFunc adapts a function that returns an error to an http.HandlerFunc.
Params decodes the request parameters of a POST request into the given struct based on the Content-Type header.
Redirect returns a 302 redirect to the specified URI.
# Structs
StatusError represents an error with an associated HTTP status code.