platform/

directory
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: MIT

Directories

Path Synopsis
Package activity holds the shape of an activity line and the words that more than one activity surface shares (ADR-128).
Package activity holds the shape of an activity line and the words that more than one activity surface shares (ADR-128).
Package clock gives code the current time.
Package clock gives code the current time.
Package crypto encrypts stored values, such as PII fields and API secrets, with AES-256-GCM.
Package crypto encrypts stored values, such as PII fields and API secrets, with AES-256-GCM.
Package leader holds singleton-role leadership as a row, not as a Postgres session (ADR-114).
Package leader holds singleton-role leadership as a row, not as a Postgres session (ADR-114).
leadertest
Package leadertest lets store tests call leader-only methods with a real, live lease token and no heartbeat.
Package leadertest lets store tests call leader-only methods with a real, live lease token and no heartbeat.
Package listorder is the one rule for a list's ?sort and ?dir.
Package listorder is the one rule for a list's ?sort and ?dir.
Package logging holds ErrorLevel, which picks the log level for an error from work done for a request.
Package logging holds ErrorLevel, which picks the log level for an error from work done for a request.
Package migrate applies Hardcount's database migrations with goose (ADR-125).
Package migrate applies Hardcount's database migrations with goose (ADR-125).
Package money holds small, dependency-free helpers for integer-cents math, shared by billing, subscription proration and tax.
Package money holds small, dependency-free helpers for integer-cents math, shared by billing, subscription proration and tax.
Package postgres opens database transactions with the settings that row-level security (RLS) reads.
Package postgres opens database transactions with the settings that row-level security (RLS) reads.
Package request holds one HTTP request's record: what the layers of the request learn about it, readable by every layer, inner or outer.
Package request holds one HTTP request's record: what the layers of the request learn about it, readable by every layer, inner or outer.
requesttest
Package requesttest gives tests a request's record: request.Begin with a route that holds only the method, and no mw.TrustedClientIP in front, so the record's client address is the request's TCP peer.
Package requesttest gives tests a request's record: request.Begin with a route that holds only the method, and no mw.TrustedClientIP in front, so the record's client address is the request's TCP peer.
Package scheduler hosts the standard tick-loop runner that every ticker-driven singleton worker in Hardcount uses.
Package scheduler hosts the standard tick-loop runner that every ticker-driven singleton worker in Hardcount uses.
Package telemetry sets up OpenTelemetry tracing for Hardcount.
Package telemetry sets up OpenTelemetry tracing for Hardcount.
Package timeline holds the two ordering rules that every activity or timeline surface must keep:
Package timeline holds the two ordering rules that every activity or timeline surface must keep:
Package walk reads a list to its end, one page at a time, in the order of the list's key.
Package walk reads a list to its end, one page at a time, in the order of the list's key.

Jump to

Keyboard shortcuts

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