Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
backfill-customer-role
command
Command backfill-customer-role provisions the global "Customer" role in the database and assigns it to customer-portal account users.
|
Command backfill-customer-role provisions the global "Customer" role in the database and assigns it to customer-portal account users. |
|
dedupe-inventory-allocations
command
Command dedupe-inventory-allocations removes duplicate inventory allocation rows written by replayed production-step scans, and returns the receipts they falsely closed out to `available`.
|
Command dedupe-inventory-allocations removes duplicate inventory allocation rows written by replayed production-step scans, and returns the receipts they falsely closed out to `available`. |
|
detect-release-changes
command
|
|
|
genid
command
|
|
|
print-stripe-webhook-version
command
|
|
|
print-version
command
|
|
|
internal
|
|
|
services
|
|
|
agent-service/cmd
command
|
|
|
agent-service/internal/domain/mock/client
Package clientmock is a generated GoMock package.
|
Package clientmock is a generated GoMock package. |
|
agent-service/internal/domain/mock/factory
Package factorymock is a generated GoMock package.
|
Package factorymock is a generated GoMock package. |
|
agent-service/internal/domain/mock/mediator
Package mediatormock is a generated GoMock package.
|
Package mediatormock is a generated GoMock package. |
|
agent-service/internal/domain/mock/repository
Package repositorymock is a generated GoMock package.
|
Package repositorymock is a generated GoMock package. |
|
agent-service/internal/domain/mock/service
Package servicemock is a generated GoMock package.
|
Package servicemock is a generated GoMock package. |
|
agent-service/internal/infrastructure/httpgateway
Package httpgateway provides an HTTP client that invokes api-gateway endpoints over the gateway's trusted internal listener on behalf of an agent identity.
|
Package httpgateway provides an HTTP client that invokes api-gateway endpoints over the gateway's trusted internal listener on behalf of an agent identity. |
|
api-gateway/cmd
command
|
|
|
api-gateway/endpoints/portal-domains
Package portaldomainep implements the customer portal custom-domain management endpoints, backed by the core-service CorePortalDomainService gRPC client.
|
Package portaldomainep implements the customer portal custom-domain management endpoints, backed by the core-service CorePortalDomainService gRPC client. |
|
api-gateway/endpoints/portal-registration-sessions
Package portalregsessionep implements the buyer customer-portal registration-session endpoints, backed by the core-service CoreService gRPC client.
|
Package portalregsessionep implements the buyer customer-portal registration-session endpoints, backed by the core-service CoreService gRPC client. |
|
api-gateway/internal/chatmap
Package chatmap converts notification-service chat proto messages into gateway API resources.
|
Package chatmap converts notification-service chat proto messages into gateway API resources. |
|
api-gateway/internal/domain/mock/publisher
Package publishermock is a generated GoMock package.
|
Package publishermock is a generated GoMock package. |
|
api-gateway/internal/resourceloaders
Package resourceloaders holds the gRPC-backed loaders used by the api-gateway resourcekit include resolver.
|
Package resourceloaders holds the gRPC-backed loaders used by the api-gateway resourcekit include resolver. |
|
api-gateway/internal/resourceregistry
Package resourceregistry contains the init()-time resourcekit.Definition registrations for every resource the api-gateway resolves includes against.
|
Package resourceregistry contains the init()-time resourcekit.Definition registrations for every resource the api-gateway resolves includes against. |
|
api-gateway/internal/versiontransforms
Package versiontransforms registers the version.Transformer chain that the api-gateway uses to keep older API versions working.
|
Package versiontransforms registers the version.Transformer chain that the api-gateway uses to keep older API versions working. |
|
api-gateway/pkg/resource
! Note: this will be refactored in the future - okay to leave as is.
|
! Note: this will be refactored in the future - okay to leave as is. |
|
api-gateway/pkg/resourcekit
Package resourcekit is the canonical registry for API resources.
|
Package resourcekit is the canonical registry for API resources. |
|
auth-service/cmd
command
|
|
|
auth-service/internal/domain/mock/client
Package clientmock is a generated GoMock package.
|
Package clientmock is a generated GoMock package. |
|
auth-service/internal/domain/mock/factory
Package factorymock is a generated GoMock package.
|
Package factorymock is a generated GoMock package. |
|
auth-service/internal/domain/mock/mediator
Package mediatormock is a generated GoMock package.
|
Package mediatormock is a generated GoMock package. |
|
auth-service/internal/domain/mock/publisher
Package publishermock is a generated GoMock package.
|
Package publishermock is a generated GoMock package. |
|
auth-service/internal/domain/mock/repository
Package repositorymock is a generated GoMock package.
|
Package repositorymock is a generated GoMock package. |
|
auth-service/internal/domain/mock/service
Package servicemock is a generated GoMock package.
|
Package servicemock is a generated GoMock package. |
|
billing-service/cmd
command
|
|
|
billing-service/internal/domain/mock/client
Package clientmock is a generated GoMock package.
|
Package clientmock is a generated GoMock package. |
|
billing-service/internal/domain/mock/factory
Package factorymock is a generated GoMock package.
|
Package factorymock is a generated GoMock package. |
|
billing-service/internal/domain/mock/mediator
Package mediatormock is a generated GoMock package.
|
Package mediatormock is a generated GoMock package. |
|
billing-service/internal/domain/mock/repository
Package repositorymock is a generated GoMock package.
|
Package repositorymock is a generated GoMock package. |
|
billing-service/internal/domain/mock/service
Package servicemock is a generated GoMock package.
|
Package servicemock is a generated GoMock package. |
|
core-service/cmd
command
|
|
|
core-service/cmd/backfill-operating-calendars
command
Command backfill-operating-calendars gives existing accounts the shipping and receiving calendars new accounts are provisioned with.
|
Command backfill-operating-calendars gives existing accounts the shipping and receiving calendars new accounts are provisioned with. |
|
core-service/cmd/replay-batch-scans
command
Command replay-batch-scans re-drives core.batch_scanned_inventory inbox messages that failed permanently, one at a time, in the order they were originally scanned.
|
Command replay-batch-scans re-drives core.batch_scanned_inventory inbox messages that failed permanently, one at a time, in the order they were originally scanned. |
|
core-service/cmd/replay-inventory-received
command
Command replay-inventory-received re-drives core.inventory_received_allocation inbox messages that failed permanently, one at a time, in the order they were originally received.
|
Command replay-inventory-received re-drives core.inventory_received_allocation inbox messages that failed permanently, one at a time, in the order they were originally received. |
|
core-service/internal/calendarseed
Package calendarseed gives a new account the operating calendars a ship-by commitment is resolved against.
|
Package calendarseed gives a new account the operating calendars a ship-by commitment is resolved against. |
|
core-service/internal/domain/mock/client
Package clientmock is a generated GoMock package.
|
Package clientmock is a generated GoMock package. |
|
core-service/internal/domain/mock/factory
Package factorymock is a generated GoMock package.
|
Package factorymock is a generated GoMock package. |
|
core-service/internal/domain/mock/mediator
Package mediatormock is a generated GoMock package.
|
Package mediatormock is a generated GoMock package. |
|
core-service/internal/domain/mock/publisher
Package publishermock is a generated GoMock package.
|
Package publishermock is a generated GoMock package. |
|
core-service/internal/domain/mock/repository
Package repositorymock is a generated GoMock package.
|
Package repositorymock is a generated GoMock package. |
|
core-service/internal/domain/mock/service
Package servicemock is a generated GoMock package.
|
Package servicemock is a generated GoMock package. |
|
core-service/internal/forecast
Package forecast holds OpenMRP's standard monthly demand forecaster.
|
Package forecast holds OpenMRP's standard monthly demand forecaster. |
|
core-service/internal/hubspotsync
Package hubspotsync orchestrates pushing OpenMRP sales orders to HubSpot as Closed-Won deals, upserting the associated company and contact along the way.
|
Package hubspotsync orchestrates pushing OpenMRP sales orders to HubSpot as Closed-Won deals, upserting the associated company and contact along the way. |
|
core-service/internal/infrastructure/hubspot
Package hubspot implements a thin HTTP client over the HubSpot CRM v3/v4 API, scoped to the company/contact/deal operations the sales-order sync needs.
|
Package hubspot implements a thin HTTP client over the HubSpot CRM v3/v4 API, scoped to the company/contact/deal operations the sales-order sync needs. |
|
core-service/internal/infrastructure/vercel
Package vercel implements the portal domain provider on top of the Vercel Domains API.
|
Package vercel implements the portal domain provider on top of the Vercel Domains API. |
|
core-service/internal/scheduling
Package scheduling is the production schedule solver.
|
Package scheduling is the production schedule solver. |
|
core-service/internal/stripesync
Package stripesync reconciles OpenMRP customers with their counterparts in a merchant's connected Stripe account.
|
Package stripesync reconciles OpenMRP customers with their counterparts in a merchant's connected Stripe account. |
|
notification-service/cmd
command
|
|
|
notification-service/internal/domain/mock/factory
Package factorymock is a generated GoMock package.
|
Package factorymock is a generated GoMock package. |
|
notification-service/internal/domain/mock/repository
Package repositorymock is a generated GoMock package.
|
Package repositorymock is a generated GoMock package. |
|
notification-service/internal/domain/mock/service
Package servicemock is a generated GoMock package.
|
Package servicemock is a generated GoMock package. |
|
notification-service/internal/ratelimit
Package ratelimit provides a small in-memory token-bucket limiter used to throttle abusive messaging actors (message send, conversation creation).
|
Package ratelimit provides a small in-memory token-bucket limiter used to throttle abusive messaging actors (message send, conversation creation). |
|
notification-service/internal/reaper
Package reaper holds the background retention worker for the messaging substrate.
|
Package reaper holds the background retention worker for the messaging substrate. |
|
notification-service/internal/scheduler
Package scheduler holds the background worker that delivers due scheduled messages.
|
Package scheduler holds the background worker that delivers due scheduled messages. |
|
platform-service/cmd
command
|
|
|
platform-service/internal/domain/mock/factory
Package factorymock is a generated GoMock package.
|
Package factorymock is a generated GoMock package. |
|
platform-service/internal/domain/mock/repository
Package repositorymock is a generated GoMock package.
|
Package repositorymock is a generated GoMock package. |
|
platform-service/internal/domain/mock/service
Package servicemock is a generated GoMock package.
|
Package servicemock is a generated GoMock package. |
|
shared
|
|
|
appnav
Package appnav exposes the dashboard's page catalog to the API — which pages the app has, and which API object type each record detail page shows.
|
Package appnav exposes the dashboard's page catalog to the API — which pages the app has, and which API object type each record detail page shows. |
|
cloud/sqs
Package sqs is a thin wrapper over the AWS SQS SDK for the consumers that poll a queue (currently the inbound-email bridge).
|
Package sqs is a thin wrapper over the AWS SQS SDK for the consumers that poll a queue (currently the inbound-email bridge). |
|
errors
Package apierror defines the structured error types used across all services.
|
Package apierror defines the structured error types used across all services. |
|
excel
Package excel builds spreadsheet workbooks from a declarative description of columns and rows, with no knowledge of any domain type.
|
Package excel builds spreadsheet workbooks from a declarative description of columns and rows, with no knowledge of any domain type. |
|
lease
Package lease provides a distributed single-holder lease primitive backed by a SQL table.
|
Package lease provides a distributed single-holder lease primitive backed by a SQL table. |
|
logging
Package logging provides structured logging utilities for gRPC services.
|
Package logging provides structured logging utilities for gRPC services. |
|
messaging
Package messaging provides rabbitMQ integration, outbox/inbox patterns, and background workers for reliable asynchronous communication between microservices.
|
Package messaging provides rabbitMQ integration, outbox/inbox patterns, and background workers for reliable asynchronous communication between microservices. |
|
retry
Package retry provides configurable retry logic with exponential backoff and jitter.
|
Package retry provides configurable retry logic with exponential backoff and jitter. |
|
safeconv
Package safeconv provides safe integer conversion functions that clamp values at the target type's boundaries instead of silently overflowing.
|
Package safeconv provides safe integer conversion functions that clamp values at the target type's boundaries instead of silently overflowing. |
|
sanitize
Package sanitize provides utilities for masking sensitive string values (API keys, tokens, secrets) in log output, error messages, and user-facing responses.
|
Package sanitize provides utilities for masking sensitive string values (API keys, tokens, secrets) in log output, error messages, and user-facing responses. |
|
timeutil
Package timeutil provides helpers for parsing timestamp strings used throughout the platform's data layer.
|
Package timeutil provides helpers for parsing timestamp strings used throughout the platform's data layer. |
|
tracing
Package tracing provides OpenTelemetry tracing initialization and helpers for all microservices.
|
Package tracing provides OpenTelemetry tracing initialization and helpers for all microservices. |
|
validate
Package validate provides request-level input validation for the platform.
|
Package validate provides request-level input validation for the platform. |
|
tests
|
|
Click to show internal directories.
Click to hide internal directories.




