Ip2region is a offline IP location library with accuracy rate of 99.9% and 0.0x millseconds searching performance. DB file is ONLY a few megabytes with all IP address stored. binding for Java,PHP,C,Python,Nodejs,Golang,C#,lua. Binary,B-tree,Memory searching algorithm
nodejs
python
c
java
rust
golang
php
lua
php-extension
ip-address
clang
ip-lookup
ip-location
lua-bindings
lua-extension
nginx-extensions
-
Updated
Jul 8, 2021 - C#
Lua's auxiliary C API offers
luaL_requiref
which allows to load modules unless they have already been loaded. The function takes alua_CFunction
, which might require some additional function wrapping. The function definition is short, so it might be better to rewrite the function in Haskell, ensuring that it is convenient to use with the rest of the library.