Directories
¶
| Path | Synopsis |
|---|---|
|
Package localization provides generic, app-agnostic country/currency/ timezone/phone reference data and resolution — a Country registry, an AccountCountry vs DetectedCountry resolution middleware, and IP-based country detection — for any nebularcore-based product operating in more than one country.
|
Package localization provides generic, app-agnostic country/currency/ timezone/phone reference data and resolution — a Country registry, an AccountCountry vs DetectedCountry resolution middleware, and IP-based country detection — for any nebularcore-based product operating in more than one country. |
|
geoip
Package geoip resolves a client IP address to a best-guess ISO country code, for DetectedCountry only (display/discovery convenience — never authoritative for billing; see the localization module's middleware).
|
Package geoip resolves a client IP address to a best-guess ISO country code, for DetectedCountry only (display/discovery convenience — never authoritative for billing; see the localization module's middleware). |
|
middleware
Package middleware resolves per-request country context and injects it into the gin context, mirroring modules/auth/middleware's c.Set("user", ...) pattern.
|
Package middleware resolves per-request country context and injects it into the gin context, mirroring modules/auth/middleware's c.Set("user", ...) pattern. |
Click to show internal directories.
Click to hide internal directories.