Directories
¶
| Path | Synopsis |
|---|---|
|
Package api provides the HTTP server and route wiring for Velox.
|
Package api provides the HTTP server and route wiring for Velox. |
|
generated
Package generated provides primitives to interact with the openapi HTTP API.
|
Package generated provides primitives to interact with the openapi HTTP API. |
|
middleware
Package middleware provides HTTP middleware for the Velox API server.
|
Package middleware provides HTTP middleware for the Velox API server. |
|
timefilter
Package timefilter is the shared parser for ?from / ?to (and named variants like ?date_from / ?date_to) query parameters across operator-facing list and export endpoints.
|
Package timefilter is the shared parser for ?from / ?to (and named variants like ?date_from / ?date_to) query parameters across operator-facing list and export endpoints. |
|
Package billing contains the billing cycle engine, scheduler, invoice preview, and MRR/ARR metrics.
|
Package billing contains the billing cycle engine, scheduler, invoice preview, and MRR/ARR metrics. |
|
Package dashmembers implements the minimal team-membership surface (DP-readiness cut-reinstatement #2, 2026-07-06): invite by email, tokenized accept, member list, revoke, remove.
|
Package dashmembers implements the minimal team-membership surface (DP-readiness cut-reinstatement #2, 2026-07-06): invite by email, tokenized accept, member list, revoke, remove. |
|
Code-adjacent data: the doctor's invariant catalog.
|
Code-adjacent data: the doctor's invariant catalog. |
|
Package domain contains pure data models shared across Velox.
|
Package domain contains pure data models shared across Velox. |
|
Package errs provides structured domain errors with machine-readable codes.
|
Package errs provides structured domain errors with machine-readable codes. |
|
Package hostedinvoice serves the public /v1/public/invoices/* surface — Stripe's hosted_invoice_url equivalent.
|
Package hostedinvoice serves the public /v1/public/invoices/* surface — Stripe's hosted_invoice_url equivalent. |
|
integrations
|
|
|
litellm
Package litellm adapts LiteLLM Proxy's StandardLoggingPayload to Velox usage events.
|
Package litellm adapts LiteLLM Proxy's StandardLoggingPayload to Velox usage events. |
|
breaker
Package breaker provides a global circuit breaker around Stripe API calls, built on sony/gobreaker/v2.
|
Package breaker provides a global circuit breaker around Stripe API calls, built on sony/gobreaker/v2. |
|
Package paymentmethods is the customer-facing view of payment methods.
|
Package paymentmethods is the customer-facing view of payment methods. |
|
Package pdffonts embeds the TTF fonts used by Velox's PDF renderers (invoice, credit note).
|
Package pdffonts embeds the TTF fonts used by Velox's PDF renderers (invoice, credit note). |
|
platform
|
|
|
money
Package money holds small, dependency-free helpers for integer-cents math shared across billing, subscription proration, coupon discounts, and tax.
|
Package money holds small, dependency-free helpers for integer-cents math shared across billing, subscription proration, coupon discounts, and tax. |
|
scheduler
Package scheduler hosts the standard tick-loop runner used by every ticker-driven background worker in Velox.
|
Package scheduler hosts the standard tick-loop runner used by every ticker-driven background worker in Velox. |
|
telemetry
Package telemetry provides OpenTelemetry tracing initialization for Velox.
|
Package telemetry provides OpenTelemetry tracing initialization for Velox. |
|
timeline
Package timeline carries the two ordering invariants every activity / timeline surface must satisfy, mechanized after the same two bugs shipped on three separate surfaces each (2026-07-19 audit):
|
Package timeline carries the two ordering invariants every activity / timeline surface must satisfy, mechanized after the same two bugs shipped on three separate surfaces each (2026-07-19 audit): |
|
Package recipe implements the pricing recipes feature: one-call instantiation of a pre-baked product+meter+pricing-rule+plan+dunning graph for AI-platform and SaaS pricing patterns.
|
Package recipe implements the pricing recipes feature: one-call instantiation of a pre-baked product+meter+pricing-rule+plan+dunning graph for AI-platform and SaaS pricing patterns. |
|
Package session implements dashboard sessions minted by the email+password login flow.
|
Package session implements dashboard sessions minted by the email+password login flow. |
|
Package tax defines the tenant-selectable tax calculation backend and three concrete implementations: NoneProvider (skip tax), ManualProvider (flat tenant-level rate), and StripeTaxProvider (Stripe Tax API; defers the invoice to tax_status=pending for retry on error).
|
Package tax defines the tenant-selectable tax calculation backend and three concrete implementations: NoneProvider (skip tax), ManualProvider (flat tenant-level rate), and StripeTaxProvider (Stripe Tax API; defers the invoice to tax_status=pending for retry on error). |
|
Package testclock owns the TestClock resource: a tenant-scoped frozen-time simulator used to walk test-mode subscriptions through full billing lifecycles (trials, cycles, dunning retries) in compressed wall-clock time.
|
Package testclock owns the TestClock resource: a tenant-scoped frozen-time simulator used to walk test-mode subscriptions through full billing lifecycles (trials, cycles, dunning retries) in compressed wall-clock time. |
|
Provider cost rates + per-customer margin (ADR-079).
|
Provider cost rates + per-customer margin (ADR-079). |
|
Package version carries the build-time version stamp.
|
Package version carries the build-time version stamp. |
Click to show internal directories.
Click to hide internal directories.