GoodAnalytics.Geo.Locus (GoodAnalytics v0.1.1)

Copy Markdown View Source

Locus-backed provider for GoodAnalytics.Geo.

Wraps :locus.lookup/2 against the configured database id (defaults to :good_analytics_geo). The loader itself is started by GoodAnalytics.Application.start/2 when :locus is loaded and config :good_analytics, :geo, provider: ... is set.

This module is only meaningful when :locus has been compiled into the release. Callers should never reach this code with :locus absent — GoodAnalytics.Geo.lookup/1 guards on Code.ensure_loaded?(:locus) before dispatching here.

Summary

Functions

The database id the loader is registered under.

Functions

database_id()

The database id the loader is registered under.