Directories
¶
| Path | Synopsis |
|---|---|
|
Package actor records who is performing an operation, in a context.Context.
|
Package actor records who is performing an operation, in a context.Context. |
|
Package app runs an application's long-running work and shuts it down in a defined order.
|
Package app runs an application's long-running work and shuts it down in a defined order. |
|
Package audit defines audit events and the Recorder contract that any module uses to record who did what to which resource, and whether it worked.
|
Package audit defines audit events and the Recorder contract that any module uses to record who did what to which resource, and whether it worked. |
|
Package buildinfo reports the version, commit and build time of the running binary, from Go build information or a version set at link time.
|
Package buildinfo reports the version, commit and build time of the running binary, from Go build information or a version set at link time. |
|
cli
module
|
|
|
Package config provides configuration helpers for the composition root of a gorbital app: a Secret type that never leaks into logs or output, and environment lookup with *_FILE support for mounted secrets.
|
Package config provides configuration helpers for the composition root of a gorbital app: a Secret type that never leaks into logs or output, and environment lookup with *_FILE support for mounted secrets. |
|
gorbital
module
|
|
|
Package health serves liveness and readiness endpoints.
|
Package health serves liveness and readiness endpoints. |
|
Package httpx provides the HTTP foundation of a gorbital app: a server that runs under app.Run with safe timeouts, security middleware, and the RFC 9457 problem+json error contract with an application-owned error mapping (ADR-0018).
|
Package httpx provides the HTTP foundation of a gorbital app: a server that runs under app.Run with safe timeouts, security middleware, and the RFC 9457 problem+json error contract with an application-owned error mapping (ADR-0018). |
|
ipfilter
Package ipfilter refuses requests by client address with 403 ip_not_allowed (ADR-0085):
|
Package ipfilter refuses requests by client address with 403 ip_not_allowed (ADR-0085): |
|
timeout
Package timeout gives each request a deadline and answers 503 request_timeout when the handler hasn't started its response by then (ADR-0085):
|
Package timeout gives each request a deadline and answers 503 request_timeout when the handler hasn't started its response by then (ADR-0085): |
|
Package mail defines email messages and the Sender contract implemented by provider modules such as mail/resend and mail/smtp (ADR-0025).
|
Package mail defines email messages and the Sender contract implemented by provider modules such as mail/resend and mail/smtp (ADR-0025). |
|
modules
|
|
|
auditpg
module
|
|
|
auth
module
|
|
|
devconsole
module
|
|
|
flags
module
|
|
|
idempotency
module
|
|
|
jobs
module
|
|
|
jwt
module
|
|
|
mail/resend
module
|
|
|
mail/smtp
module
|
|
|
mail/suppressionpg
module
|
|
|
observability
module
|
|
|
openapi
module
|
|
|
orgs
module
|
|
|
postgres
module
|
|
|
ratelimitpg
module
|
|
|
releases
module
|
|
|
settings
module
|
|
|
storage
module
|
|
|
telemetry
module
|
|
|
Package page provides cursor pagination and sorting for list endpoints: bounded limits, opaque cursors and allowlisted sort fields.
|
Package page provides cursor pagination and sorting for list endpoints: bounded limits, opaque cursors and allowlisted sort fields. |
|
Package ratelimit provides token-bucket rate limiting keyed by a string (an IP address, account or API key): the Taker interface, an in-memory Limiter, and HTTP middleware.
|
Package ratelimit provides token-bucket rate limiting keyed by a string (an IP address, account or API key): the Taker interface, an in-memory Limiter, and HTTP middleware. |
|
Package requestid generates, validates and carries request IDs in a context.Context, so HTTP middleware, logging, audit and jobs share one correlation value (ADR-0030).
|
Package requestid generates, validates and carries request IDs in a context.Context, so HTTP middleware, logging, audit and jobs share one correlation value (ADR-0030). |
|
Package webhook verifies signed webhook requests: an HMAC-SHA256 signature over the raw body, and optionally a delivery ID and a timestamp checked against a replay window (ADR-0085).
|
Package webhook verifies signed webhook requests: an HMAC-SHA256 signature over the raw body, and optionally a delivery ID and a timestamp checked against a replay window (ADR-0085). |
Click to show internal directories.
Click to hide internal directories.