Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth is the identity layer: the Principal, the hardened login flow, and a deliberately small RBAC.
|
Package auth is the identity layer: the Principal, the hardened login flow, and a deliberately small RBAC. |
|
Package beach is Beach's HTTP layer: the framework's front door.
|
Package beach is Beach's HTTP layer: the framework's front door. |
|
view
Package view owns the framework's own front-end source: the Tailwind input stylesheet under css/ and the compiled, served tree under static/.
|
Package view owns the framework's own front-end source: the Tailwind input stylesheet under css/ and the compiled, served tree under static/. |
|
Package cache provides two in-process cache shapes and the NOTIFY-driven invalidation that wires them to Postgres.
|
Package cache provides two in-process cache shapes and the NOTIFY-driven invalidation that wires them to Postgres. |
|
Package ch is the framework's ClickHouse client: native-protocol connection, goose migrations, a generic non-blocking ingest batcher, and a typed query helper.
|
Package ch is the framework's ClickHouse client: native-protocol connection, goose migrations, a generic non-blocking ingest batcher, and a typed query helper. |
|
Package chart computes SVG geometry for server-rendered charts.
|
Package chart computes SVG geometry for server-rendered charts. |
|
Package color is Beach's color math: OKLCH, sRGB, and the WCAG contrast the framework's palette is derived under.
|
Package color is Beach's color math: OKLCH, sRGB, and the WCAG contrast the framework's palette is derived under. |
|
Package config loads typed application configuration from the environment.
|
Package config loads typed application configuration from the environment. |
|
Package consent is the first-party cookie-preference record.
|
Package consent is the first-party cookie-preference record. |
|
Package datastar is the only sanctioned way to emit Datastar data-* attributes and to open a server-sent event stream inside Beach.
|
Package datastar is the only sanctioned way to emit Datastar data-* attributes and to open a server-sent event stream inside Beach. |
|
Package ecs is a standalone, zero-knowledge archetype ECS: entities and columnar (struct-of-arrays) component storage with tick-stamped change detection, typed queries, CBOR snapshots, and entity-valued relationships.
|
Package ecs is a standalone, zero-knowledge archetype ECS: entities and columnar (struct-of-arrays) component storage with tick-stamped change detection, typed queries, CBOR snapshots, and entity-valued relationships. |
|
Package hub is an in-memory topic fan-out for realtime SSE surfaces.
|
Package hub is an in-memory topic fan-out for realtime SSE surfaces. |
|
Package i18n is Beach's flat-key translation runtime.
|
Package i18n is Beach's flat-key translation runtime. |
|
Package mailer sends transactional email behind one small interface: build an Email, hand it to a Mailer, and let configuration pick the wire.
|
Package mailer sends transactional email behind one small interface: build an Email, hand it to a Mailer, and let configuration pick the wire. |
|
Package md renders Markdown to sanitized HTML.
|
Package md renders Markdown to sanitized HTML. |
|
Package passwords provides argon2id password hashing in the PHC string format, built directly on golang.org/x/crypto/argon2 with zero dependencies beyond x/crypto.
|
Package passwords provides argon2id password hashing in the PHC string format, built directly on golang.org/x/crypto/argon2 with zero dependencies beyond x/crypto. |
|
Package pg is the boot spine for everything Postgres-connection-shaped: the pool, migrations, transactions, and LISTEN/NOTIFY.
|
Package pg is the boot spine for everything Postgres-connection-shaped: the pool, migrations, transactions, and LISTEN/NOTIFY. |
|
Package prefs carries a visitor's answer to "may this page keep changing on its own?" from the request that resolved it to the view that has to obey it.
|
Package prefs carries a visitor's answer to "may this page keep changing on its own?" from the request that resolved it to the view that has to obey it. |
|
Package quantity is Beach's typed value-with-unit system: a domain- agnostic way to carry a measured value together with the unit it arrived in.
|
Package quantity is Beach's typed value-with-unit system: a domain- agnostic way to carry a measured value together with the unit it arrived in. |
|
Package rybitten ports meodai's RYBitten (https://rybitten.space) to Go: a pseudo-RYB color model derived from Johannes Itten's chromatic circle.
|
Package rybitten ports meodai's RYBitten (https://rybitten.space) to Go: a pseudo-RYB color model derived from Johannes Itten's chromatic circle. |
|
Package session is the Postgres-backed session store with auth middleware.
|
Package session is the Postgres-backed session store with auth middleware. |
|
Package sim runs a simulation over an ecs.Store: a single goroutine owns the store, drives a fixed tick loop, drains a typed command channel at the top of each tick, runs systems in registration order, then projects the tick's dirty component set onto hub topics as pre-rendered patches.
|
Package sim runs a simulation over an ecs.Store: a single goroutine owns the store, drives a fixed tick loop, drains a typed command channel at the top of each tick, runs systems in registration order, then projects the tick's dirty component set onto hub topics as pre-rendered patches. |
|
Package sms sends transactional text messages behind one small interface: build a Message, hand it to a Sender, and let configuration pick the wire.
|
Package sms sends transactional text messages behind one small interface: build a Message, hand it to a Sender, and let configuration pick the wire. |
|
Package storage is the framework's unified file store: one Store interface, swappable backends.
|
Package storage is the framework's unified file store: one Store interface, swappable backends. |
|
cfimages
Package cfimages is a small client for Cloudflare Images — the hosted, paid product that stores originals and serves resized variants from imagedelivery.net.
|
Package cfimages is a small client for Cloudflare Images — the hosted, paid product that stores originals and serves resized variants from imagedelivery.net. |
|
cfstream
Package cfstream is a small client for Cloudflare Stream — the hosted video product that accepts tus resumable uploads and serves playback from cloudflarestream.com / videodelivery.net.
|
Package cfstream is a small client for Cloudflare Stream — the hosted video product that accepts tus resumable uploads and serves playback from cloudflarestream.com / videodelivery.net. |
|
s3
Package s3 is a storage.Store over any S3-compatible object store.
|
Package s3 is a storage.Store over any S3-compatible object store. |
|
Package theme derives Beach's design tokens — every colour the kit paints, in both a light and a dark scheme — from a short list of parameters.
|
Package theme derives Beach's design tokens — every colour the kit paints, in both a light and a dark scheme — from a short list of parameters. |
|
templ: version: v0.3.1020
|
templ: version: v0.3.1020 |
|
driftwood
templ: version: v0.3.1020
|
templ: version: v0.3.1020 |
|
specimen
Package specimen is the framework's living showcase: one (intentionally over-budget) page that renders the token sheet, the icon set, every driftwood component in its states, the rybitten gamut strips, and every chart type with representative data.
|
Package specimen is the framework's living showcase: one (intentionally over-budget) page that renders the token sheet, the icon set, every driftwood component in its states, the rybitten gamut strips, and every chart type with representative data. |
Click to show internal directories.
Click to hide internal directories.