Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: geoip mirrors #4270

Merged
merged 2 commits into from
Oct 31, 2024
Merged

feat: geoip mirrors #4270

merged 2 commits into from
Oct 31, 2024

Conversation

heiytor
Copy link
Contributor

@heiytor heiytor commented Oct 31, 2024

No description provided.

@heiytor heiytor self-assigned this Oct 31, 2024
@heiytor heiytor force-pushed the feat/geopip-mirror branch 3 times, most recently from 36ad78a to 83a5c6d Compare October 31, 2024 15:52
@heiytor heiytor marked this pull request as ready for review October 31, 2024 17:55
@heiytor heiytor requested review from a team as code owners October 31, 2024 17:55
@heiytor heiytor force-pushed the feat/geopip-mirror branch 3 times, most recently from 65dfadf to 24ce9dd Compare October 31, 2024 18:23
- Add documentation for Locator interface.
- Upgraded dependency: "github.com/mholt/archiver" to v4.
- Simplified structure by removing `dbs` array and `city|country` enums,
  replacing into struct methods.
- Replaced `geoLite2Info` with `dbCountryID` and `dbCityID` for improved
  readability and modularity.
- Implemented an option method for flexible database file retrieval.
- Enhanced download performance by running file downloads in separate
  goroutines.
- Remove `SHELLHUB_GEOIP` and use `SHELLHUB_MAXMIND_LICENSE` to check
  whether enables or not the feature.
- Added `SHELLHUB_MAXMIND_MIRROR` environment variable to allow
  specifying an alternate mirror for downloading MaxMind databases. When
  `SHELLHUB_MAXMIND_MIRROR` is set, it takes precedence over
  `SHELLHUB_MAXMIND_LICENSE`, directing the API to use the mirror for
  database downloads.
@gustavosbarreto gustavosbarreto merged commit a7513d4 into master Oct 31, 2024
9 checks passed
@gustavosbarreto gustavosbarreto deleted the feat/geopip-mirror branch October 31, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants