Cross-domain packages shared by SubmitQueue, Stovepipe, and other services in this repository. Nothing under platform/ may depend on domain folders (submitqueue/, stovepipe/).
- errs/ — Error classification (
errstypes, classifiers, MySQL/generic helpers). - metrics/ — Tally helpers with error-aware tagging via
platform/errs. - consumer/ — Queue consumer framework (
consumer.Controller, registry, DLQ wiring). - http/ — Small HTTP client helpers (e.g. base-URL
RoundTripper). Go import path:github.com/uber/submitqueue/platform/http; package name ishttp. Callers that also importnet/httpshould import this package with an alias (for examplephttp "github.com/uber/submitqueue/platform/http") and usephttp.NewClient. - base/ — Shared domain entities (
change,messagequeue, and related subpackages). Root packagebaseis documentation-only. - extension/ — Shared extension interfaces and implementations reused across domains (
counter,messagequeue, and backends such asmysql).
Domain-scoped infrastructure and extensions stay under each domain (for example submitqueue/core/, submitqueue/extension/).