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: geolocation #83

Merged
merged 1 commit into from
Oct 1, 2023
Merged

feat: geolocation #83

merged 1 commit into from
Oct 1, 2023

Conversation

wolf31o2
Copy link
Member

@wolf31o2 wolf31o2 commented Oct 1, 2023

Introduces golocation lookups using FreeGeoIP service.

  • Import go-freeGeoIP
  • Add Location to Peer struct
  • Create getGeoIP() function to look up an IP address

Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
@wolf31o2 wolf31o2 merged commit 358cf56 into main Oct 1, 2023
7 checks passed
@wolf31o2 wolf31o2 deleted the feat/geolocation branch October 1, 2023 22:22
@wolf31o2 wolf31o2 linked an issue Oct 1, 2023 that may be closed by this pull request
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.

Geolocation support
2 participants