Directories ¶
Path | Synopsis |
---|---|
Package conf provides a way to load configuration from JSON files and environment variables, along with a structure to hold the configuration settings for an application and the ability to set up command-line flags for configuration options.
|
Package conf provides a way to load configuration from JSON files and environment variables, along with a structure to hold the configuration settings for an application and the ability to set up command-line flags for configuration options. |
Package cookies provides helpers for reading and writing cookies with various security features.
|
Package cookies provides helpers for reading and writing cookies with various security features. |
Package db provides database-related helpers and utilities.
|
Package db provides database-related helpers and utilities. |
postgres
Module
|
|
sqlite_cgo
Module
|
|
sqlite_modernc
Module
|
|
internal
|
|
Package logger provides some utility methods based around the standard library's slog.Logger package.
|
Package logger provides some utility methods based around the standard library's slog.Logger package. |
Package mail provides a simple mailer that sends emails using the SMTP protocol.
|
Package mail provides a simple mailer that sends emails using the SMTP protocol. |
notifications
Package notifications provides example email notifications.
|
Package notifications provides example email notifications. |
secure
|
|
password
Package password provides functions for hashing and verifying passwords.
|
Package password provides functions for hashing and verifying passwords. |
Package serve provides a way to create and manage an HTTP server, including routing, middleware, and graceful shutdown.
|
Package serve provides a way to create and manage an HTTP server, including routing, middleware, and graceful shutdown. |
sess
|
|
Package wrap provides middleware functions for HTTP handlers, including security headers, CSRF protection, and panic recovery.
|
Package wrap provides middleware functions for HTTP handlers, including security headers, CSRF protection, and panic recovery. |
Click to show internal directories.
Click to hide internal directories.