turbobytes / geoipdb

GeoIP related related helper functions for TurboBytes stack
MIT License
0 stars 2 forks source link

Implement cache layer in LookupAsn() #19

Closed coolparadox closed 7 years ago

coolparadox commented 7 years ago

Please see the following issues for comments on implementation:

Fixes #14 Fixes #18

sajal commented 7 years ago

maps are not concurrent-safe, I think you need a sync.RWMutex there.

coolparadox commented 7 years ago

+1 on concurrency issues with map, thanks for pointing it