Geolix.Database
Module to interact with the geo database.
This includes proxy methods for reading the database and lookup up entries.
Summary↑
| lookup(ip, opts) | Looks up IP information |
| lookup_single(ip, where, opts) | |
| read_database(which, filename) | Reads a database using |
Functions
Specs:
- lookup(ip :: tuple, opts :: Keyword.t) :: %{}
Looks up IP information.
Specs:
- read_database(atom, String.t) :: :ok | {:error, term}
Reads a database using Geolix.Reader.read_database/1 and stores the
parts in their respective storage agents.