forked fromwangtuanjie/ip17mon
- Notifications
You must be signed in to change notification settings - Fork1
17mon IP location data for Golang
License
NotificationsYou must be signed in to change notification settings
sjzar/ip17mon
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
17mon IP location data for Golang
- 高效的查找算法,查询性能100w/s
- 支持build出的bin文件包含原始数据
go get -u github.com/wangtuanjie/ip17monimport ("fmt""github.com/wangtuanjie/ip17mon")func init() {if err := ip17mon.Init("your data file"); err != nil {panic(err)}}func main() {loc, err := ip17mon.Find("116.228.111.18")if err != nil {fmt.Println("err:", err)return}fmt.Println(loc)}更多请参考example
基于MIT 协议发布
About
17mon IP location data for Golang
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Languages
- Go96.3%
- Makefile2.4%
- Shell1.3%