Documentation
¶
Overview ¶
Package currency is the HTTP surface for the currency reference table: admin CRUD (generic REST) plus a public GET list. Currencies are a GLOBAL reference (default namespace, like token/user/organization) — one shared set the store/settings and product/price pickers read, replacing a hardcoded array.
Two audiences:
- PUBLIC read: GET /v1/commerce/currencies returns the whole list, no auth (it is presentation/reference data). Wired on the commerce public group.
- ADMIN write: create/update/delete mutate the reference set and are gated by the /v1 bundle's adminRequired. Wired in api/api.go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublicRoute ¶
PublicRoute wires the unauthenticated list projection. Mount on the commerce public group so it serves GET /v1/commerce/currencies.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.