# Functions
Render a 400 Bad Request error page.
Handle errors that arise from creating a new row in the database.
Handle errors that arise from deleting a single row from the database.
Render a 403 Forbidden error page.
The GetContextAccount() retrieves the model.Account and an "exists" bool from the request context.
Render a 500 Internal Server Error page.
No description provided by the author
Handle errors that arise from reading many (zero or more) rows from the database.
Return a base cookie with secure defaults.
Create a cookie that is instantly expired.
Create a permanent (not session) cookie with a given time-to-live.
Create a session (not permanent) cookie that expires when the user's session ends.
No description provided by the author
Render a 404 Not Found error page.
Convert user-friendly "page/size" pagination to DB-friendly "limit/offset".
Handle errors that arise from reading a single row from the database.
Render an HTML template based on a given RenderFunc.
Render an HTML error template based on a given RenderFunc.
The SetContextAccount() method returns a new copy of the request with the provided model.Account added to the context.
No description provided by the author
Handle errors that arise from updating a single row in the database.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Generic function type for rendering data to an io.Writer.
No description provided by the author