Geolix v0.10.1 Geolix

Geolix Application.

Summary

Functions

Adds a database to lookup data from

Callback implementation for c::application.start/2

Types

database_file :: String.t | {:system, String.t}

Functions

lookup(ip, opts \\ [as: :struct, where: nil])

Specs

lookup(ip :: tuple | String.t, opts :: Keyword.t) ::
  nil |
  map

Looks up IP information.

set_database(which, filename)

Specs

set_database(atom, database_file) ::
  :ok |
  {:error, String.t}

Adds a database to lookup data from.

start(type, args)

Callback implementation for c::application.start/2.