Integrant wiring for the geo module.
Config key: :wagoe/geo-service
Example (single provider, no caching): :wagoe/geo-service {:provider :openstreetmap :user-agent "MyApp/1.0 (contact@example.com)"}
Example (Google with DB cache): :wagoe/geo-service {:provider :google :api-key #env WAG_GEO_API_KEY :cache-ttl 86400 :db #ig/ref :wagoe/db}
Example (fallback chain): :wagoe/geo-service {:provider [:openstreetmap :google] :api-key #env WAG_GEO_API_KEY :cache-ttl 86400 :db #ig/ref :wagoe/db}
Integrant wiring for the geo module.
Config key: :wagoe/geo-service
Example (single provider, no caching):
:wagoe/geo-service
{:provider :openstreetmap
:user-agent "MyApp/1.0 (contact@example.com)"}
Example (Google with DB cache):
:wagoe/geo-service
{:provider :google
:api-key #env WAG_GEO_API_KEY
:cache-ttl 86400
:db #ig/ref :wagoe/db}
Example (fallback chain):
:wagoe/geo-service
{:provider [:openstreetmap :google]
:api-key #env WAG_GEO_API_KEY
:cache-ttl 86400
:db #ig/ref :wagoe/db}No vars found in this namespace.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |