internal/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package blobstore stores files (image originals, renditions, zips) on the local disk or in an S3-compatible bucket (AWS S3, Cloudflare R2, MinIO, Google Cloud Storage through its S3 interoperability endpoint).
Package blobstore stores files (image originals, renditions, zips) on the local disk or in an S3-compatible bucket (AWS S3, Cloudflare R2, MinIO, Google Cloud Storage through its S3 interoperability endpoint).
Package config reads the node's settings from the environment.
Package config reads the node's settings from the environment.
Package db wraps database/sql for SQLite (default, pure Go) and PostgreSQL.
Package db wraps database/sql for SQLite (default, pure Go) and PostgreSQL.
Package gtin validates and normalises GS1 trade item numbers.
Package gtin validates and normalises GS1 trade item numbers.
Package ids creates opaque, time-sortable object identifiers such as "prd_01j9zk3q7t5wabcdefghjkmnpq".
Package ids creates opaque, time-sortable object identifiers such as "prd_01j9zk3q7t5wabcdefghjkmnpq".
Package imaging detects image types, reads dimensions from file headers and renders the OBX renditions (web, square, thumb) in pure Go.
Package imaging detects image types, reads dimensions from file headers and renders the OBX renditions (web, square, thumb) in pure Go.
Package importfmt parses the OBX canonical import format (docs/import-format.md): products.csv, assets.csv, the image file name pattern, the materials grammar and care codes.
Package importfmt parses the OBX canonical import format (docs/import-format.md): products.csv, assets.csv, the image file name pattern, the materials grammar and care codes.
Package node implements an OBX brand node: the OBX Protocol (read side), the OBX Ingest API (write side), the Node Admin + Portal API used by the shared admin-ui, imports, renditions, exports, webhooks and statistics.
Package node implements an OBX brand node: the OBX Protocol (read side), the OBX Ingest API (write side), the Node Admin + Portal API used by the shared admin-ui, imports, renditions, exports, webhooks and statistics.
Package problem implements application/problem+json (RFC 9457) errors with the OBX error codes.
Package problem implements application/problem+json (RFC 9457) errors with the OBX error codes.
Package safehttp makes outbound requests to attacker-influenced URLs (scheduled imports, webhooks, SFTP/S3 endpoints) without reaching private networks (SSRF protection).
Package safehttp makes outbound requests to attacker-influenced URLs (scheduled imports, webhooks, SFTP/S3 endpoints) without reaching private networks (SSRF protection).
Package schemas embeds the OBX JSON Schemas (copied from the spec repository by scripts/sync-spec.sh, CC-BY-4.0) and validates documents.
Package schemas embeds the OBX JSON Schemas (copied from the spec repository by scripts/sync-spec.sh, CC-BY-4.0) and validates documents.
Package secure holds the node's small cryptographic helpers: random tokens, token hashing, constant-time comparison, AES-256-GCM encryption of stored credentials and HMAC signing.
Package secure holds the node's small cryptographic helpers: random tokens, token hashing, constant-time comparison, AES-256-GCM encryption of stored credentials and HMAC signing.

Jump to

Keyboard shortcuts

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