Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth provides reusable building blocks for session-based authentication: password hashing, cryptographically-random tokens, and a cookie-backed session manager with middleware.
|
Package auth provides reusable building blocks for session-based authentication: password hashing, cryptographically-random tokens, and a cookie-backed session manager with middleware. |
|
Package authz is a tiny role-based authorization core: declare which permissions each role grants, then ask whether a role has a permission.
|
Package authz is a tiny role-based authorization core: declare which permissions each role grants, then ask whether a role has a permission. |
|
billing
|
|
|
stripe
Package stripe is a thin, decoupled wrapper over the Stripe API for subscription billing: start a hosted Checkout Session (cards, 3DS, promo codes), open the Customer Portal (change plan/card, cancel, invoices), verify webhooks, and look up a checkout session's or a customer's subscription so you can sync state immediately instead of waiting on the async webhook.
|
Package stripe is a thin, decoupled wrapper over the Stripe API for subscription billing: start a hosted Checkout Session (cards, 3DS, promo codes), open the Customer Portal (change plan/card, cancel, invoices), verify webhooks, and look up a checkout session's or a customer's subscription so you can sync state immediately instead of waiting on the async webhook. |
|
sumup
Package sumup provides recurring-subscription and saved-card (merchant-initiated) billing orchestration on top of SumUp.
|
Package sumup provides recurring-subscription and saved-card (merchant-initiated) billing orchestration on top of SumUp. |
|
sumup/sumupgo
Package sumupgo is an example billing/sumup.Charger backed by the official SumUp Go SDK (github.com/sumup/sumup-go).
|
Package sumupgo is an example billing/sumup.Charger backed by the official SumUp Go SDK (github.com/sumup/sumup-go). |
|
Package cache is a Postgres-backed key/value cache — Rails' Solid Cache, no Redis.
|
Package cache is a Postgres-backed key/value cache — Rails' Solid Cache, no Redis. |
|
Package csrf protects state-changing requests by checking that they were sent from the same origin they are addressed to — no hidden form tokens, no session storage, no template changes.
|
Package csrf protects state-changing requests by checking that they were sent from the same origin they are addressed to — no hidden form tokens, no session storage, no template changes. |
|
Package datastarx contains small helpers for driving [Datastar] responses over Server-Sent Events from net/http.
|
Package datastarx contains small helpers for driving [Datastar] responses over Server-Sent Events from net/http. |
|
Package dbx holds the small, repetitive helpers you reach for when building sqlc/pgx query params from ordinary Go values: wrapping a uuid/time in the pgtype the generated code wants, and converting between "" / zero and a nullable pointer.
|
Package dbx holds the small, repetitive helpers you reach for when building sqlc/pgx query params from ordinary Go values: wrapping a uuid/time in the pgtype the generated code wants, and converting between "" / zero and a nullable pointer. |
|
Package env is a tiny, zero-dependency .env loader.
|
Package env is a tiny, zero-dependency .env loader. |
|
Package i18n is a tiny message-catalog engine with per-request locale on the context.
|
Package i18n is a tiny message-catalog engine with per-request locale on the context. |
|
Package jobs is a Postgres-backed background job queue — Rails' Solid Queue, no Redis.
|
Package jobs is a Postgres-backed background job queue — Rails' Solid Queue, no Redis. |
|
Package log is structured request/job logging on top of log/slog: a process logger plus context propagation so every line a request (or background job) emits carries the same request_id, user_id, tenant_id and job_id without threading them through every call.
|
Package log is structured request/job logging on top of log/slog: a process logger plus context propagation so every line a request (or background job) emits carries the same request_id, user_id, tenant_id and job_id without threading them through every call. |
|
Package mail sends transactional email over SMTP.
|
Package mail sends transactional email over SMTP. |
|
Package migrate is a tiny, dependency-light SQL migration runner — Rails' db:migrate, DB-only.
|
Package migrate is a tiny, dependency-light SQL migration runner — Rails' db:migrate, DB-only. |
|
Package money formats and parses amounts held as integer minor units (cents).
|
Package money formats and parses amounts held as integer minor units (cents). |
|
Package storage is a thin wrapper over an S3-compatible object store (Cloudflare R2, AWS S3, MinIO, …) for the handful of operations an app actually needs: put, get, delete, and presigned URLs.
|
Package storage is a thin wrapper over an S3-compatible object store (Cloudflare R2, AWS S3, MinIO, …) for the handful of operations an app actually needs: put, get, delete, and presigned URLs. |
|
Package tenancy resolves the current tenant from an HTTP request — a subdomain of your apex via BySubdomain, any other host via ByCustomDomain — and carries it on the request context.
|
Package tenancy resolves the current tenant from an HTTP request — a subdomain of your apex via BySubdomain, any other host via ByCustomDomain — and carries it on the request context. |
Click to show internal directories.
Click to hide internal directories.