Directories
¶
| Path | Synopsis |
|---|---|
|
Package accounts provides a substantial implementation of the security-sensitive and often subtle flows related to accounts: registration and deletion, login and logout, reset password, verify and change email, and a simple group-based authorization mechanism.
|
Package accounts provides a substantial implementation of the security-sensitive and often subtle flows related to accounts: registration and deletion, login and logout, reset password, verify and change email, and a simple group-based authorization mechanism. |
|
acctctx
Package acctctx provides type-safe access to account-related values stored in the context.
|
Package acctctx provides type-safe access to account-related values stored in the context. |
|
acctmw
Package acctmw provides a substantial implementation of the security-sensitive and often subtle flows related to accounts: registration and deletion, login and logout, reset password, verify and change email, and a simple group-based authorization mechanism.
|
Package acctmw provides a substantial implementation of the security-sensitive and often subtle flows related to accounts: registration and deletion, login and logout, reset password, verify and change email, and a simple group-based authorization mechanism. |
|
Package ctxvals provides type-safe functions to store and access values in the context.
|
Package ctxvals provides type-safe functions to store and access values in the context. |
|
Package errors provides functions and types to define and manipulate errors.
|
Package errors provides functions and types to define and manipulate errors. |
|
Package pgdb streamlines the database API by exposing only the context-aware version of methods and enhances querying by supporting scanning into structs and slices.
|
Package pgdb streamlines the database API by exposing only the context-aware version of methods and enhances querying by supporting scanning into structs and slices. |
|
migrate
Package migrate implements a postgresql database migrations runner based on pgdb.
|
Package migrate implements a postgresql database migrations runner based on pgdb. |
|
pgxadapt
Package pgxadapt provides functions to adapt types specific for the pgx postgresql driver to the common abstract database interfaces.
|
Package pgxadapt provides functions to adapt types specific for the pgx postgresql driver to the common abstract database interfaces. |
|
sqladapt
Package sqladapt provides functions to adapt types for the stdlib's database/sql package to the common abstract database interfaces.
|
Package sqladapt provides functions to adapt types for the stdlib's database/sql package to the common abstract database interfaces. |
|
testdb
Package testdb provides functions to test a pgdb project using a real, non-mocked but isolated test database.
|
Package testdb provides functions to test a pgdb project using a real, non-mocked but isolated test database. |
|
Package server defines an HTTP server that helps build a production-ready, hardened Go http server with optional graceful shutdown and automatic TLS certificates.
|
Package server defines an HTTP server that helps build a production-ready, hardened Go http server with optional graceful shutdown and automatic TLS certificates. |
|
middleware
Package middleware provides middleware commonly-required for Web servers.
|
Package middleware provides middleware commonly-required for Web servers. |
|
params
Package params implements a decoder of HTTP parameters from the query string, path parameters and request body into a struct.
|
Package params implements a decoder of HTTP parameters from the query string, path parameters and request body into a struct. |
|
webpages
Package webpages parses templates used to render pages.
|
Package webpages parses templates used to render pages. |
|
Package tokens implements a random, secure and time-limited token generator that helps implement common features like session IDs (multi-use, long-lived), password resets and verify email (single-use, short-lived) scenarios.
|
Package tokens implements a random, secure and time-limited token generator that helps implement common features like session IDs (multi-use, long-lived), password resets and verify email (single-use, short-lived) scenarios. |
Click to show internal directories.
Click to hide internal directories.