# Functions
Decode gets the JSON value from the request body and decode it.
IsShutdown checks to see if the shutdown error type is contained in the specified error value.
Factory method for creating concrete App that handles http routes handling.
NewRequestError wraps a provided error with an HTTP status code.
NewShutdownError returns an error that causes the framework to signal a graceful shutdown.
Func Param extract request param from the URL called based on the provided key.
Encode business layer outputs to send back to clients.
RespondError sends an error response back to clients.
# Constants
KeyValues is how request metadata (type Values) are stored/retrieved.
# Structs
Type App is the entrypoint into the web application, it configures context for http handlers and hooks up os.Signal from application inner layers.
Error is used to pass an error during the request through the application with specific context.
ErrorResponse is for API responses.
FieldError is used to indicate an error with a specific request field.
Values represent metadata attached to requests for debugging purposes.
# Type aliases
Type Handler is an adapter to allow the use of custom method signature as native http.HandlerFunc.
Middleware function helps to run some code before and/or after another Handler.