pkg/

directory
v0.39.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2026 License: Apache-2.0

Directories

Path Synopsis
Package auth provides password hashing with Argon2id and cryptographically-secure token generation.
Package auth provides password hashing with Argon2id and cryptographically-secure token generation.
Package config provides typed accessors for environment variables with sensible defaults and panic-on-missing semantics.
Package config provides typed accessors for environment variables with sensible defaults and panic-on-missing semantics.
Package ctx provides type-safe context key helpers for Echo handlers.
Package ctx provides type-safe context key helpers for Echo handlers.
db
Package db provides PostgreSQL connection management with retry, keep-alive, and schema migration utilities.
Package db provides PostgreSQL connection management with retry, keep-alive, and schema migration utilities.
sqlite
Package sqlite provides SQLite connection management and schema migration utilities for hamr-scaffolded projects.
Package sqlite provides SQLite connection management and schema migration utilities for hamr-scaffolded projects.
Package e2e provides reusable go-rod browser helpers for E2E testing.
Package e2e provides reusable go-rod browser helpers for E2E testing.
Package email defines a provider-agnostic Sender interface for transactional email and the value types that flow through it.
Package email defines a provider-agnostic Sender interface for transactional email and the value types that flow through it.
Package emailmock is a dev-only implementation of email.Sender that ships messages to the hamr dev server's mail inbox at /__hamr/mail.
Package emailmock is a dev-only implementation of email.Sender that ships messages to the hamr dev server's mail inbox at /__hamr/mail.
Package fingerprint provides content-based static asset fingerprinting.
Package fingerprint provides content-based static asset fingerprinting.
Package htmx provides request detection and response header helpers for htmx.
Package htmx provides request detection and response header helpers for htmx.
Package i18n provides internationalisation support: JSON translation files, CLDR plural rules, text/template interpolation, and a Bundle that holds per-locale Translators.
Package i18n provides internationalisation support: JSON translation files, CLDR plural rules, text/template interpolation, and a Bundle that holds per-locale Translators.
Package janitor provides a cron-based background task runner with per-task schedules, timeouts, and pre/post hooks.
Package janitor provides a cron-based background task runner with per-task schedules, timeouts, and pre/post hooks.
Package logging provides context-aware structured logging wrapping log/slog.
Package logging provides context-aware structured logging wrapping log/slog.
Package media provides high-level image and video upload, processing, and serving on top of the storage package.
Package media provides high-level image and video upload, processing, and serving on top of the storage package.
Package middleware provides HTTP middleware for the HAMR framework.
Package middleware provides HTTP middleware for the HAMR framework.
Package ptr provides generic and concrete helpers for working with pointers.
Package ptr provides generic and concrete helpers for working with pointers.
Package respond provides HTTP response helpers for HTMX-first applications.
Package respond provides HTTP response helpers for HTMX-first applications.
Package server wraps Echo v4 with functional options, production-safe defaults, and graceful shutdown.
Package server wraps Echo v4 with functional options, production-safe defaults, and graceful shutdown.
Package sms defines a provider-agnostic Sender interface for transactional SMS and the value types that flow through it.
Package sms defines a provider-agnostic Sender interface for transactional SMS and the value types that flow through it.
Package smsmock is a dev-only implementation of sms.Sender that ships messages to the hamr dev server's SMS inbox at /__hamr/sms.
Package smsmock is a dev-only implementation of sms.Sender that ships messages to the hamr dev server's SMS inbox at /__hamr/sms.
Package storage provides a pluggable file storage abstraction with local filesystem and S3-compatible backends (AWS S3, RustFS, Cloudflare R2).
Package storage provides a pluggable file storage abstraction with local filesystem and S3-compatible backends (AWS S3, RustFS, Cloudflare R2).
Package sync provides file-watching and S3-syncing for static assets.
Package sync provides file-watching and S3-syncing for static assets.
Package templint provides a static linter for .templ files.
Package templint provides a static linter for .templ files.
Package validate provides pure-function validators that return "" on success or a human-readable error message string on failure.
Package validate provides pure-function validators that return "" on success or a human-readable error message string on failure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL