# Functions

BindDeleteData returns a delete data struct extracted from the body and an error to be checked in the handler.
BindPost returns a post struct extracted from the body and an error to be checked in the handler.
BindUpdateData returns a update data struct extracted from the body and an error to be checked in the handler.
CheckHeader validates the request header.
CORS returns a CORS middleware given the allowed methods.
GetID gets the ID param from the URL and is returned with an error to be checked in the handler.
NewApp returns an empty App where routes will be set up.
RateLimiter sets and configures a rate limiter.
RemoveTrailingSlash removes the trailing slash from URLs.
Secure sets some headers to avoid some attacks.
SendCreated sends a JSON 201 Created response with a delete code struct as the body.
SendError sends any error and a message as the body.
SendOK sends a JSON 200 OK response with any given data as the body.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author