Skip to content

ksyu/ipipdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ipipdb


IPIP.net (Geoip) database file interface


Usage

To lookup in a given database, you need to parse the database file first and hold the results for later usage:

{ok, Database} = ipipdb:parse_database("/path/to/ipip.ipdb").

Using the returned database contents, you could start looking up

ipipdb:lookup("127.0.0.1", Database).
> {ok, #{}}

License

Apache 2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages