(lookup-city db ip)
Lookup an ip
given as a String in the given city db
and returns a map with results.
Scoped to a city level.
Lookup an `ip` given as a String in the given city `db` and returns a map with results. Scoped to a city level.
(lookup-country db ip)
Lookup an ip
given as a String in the given country db
and returns a map with results.
Scoped to a country level.
Lookup an `ip` given as a String in the given country `db` and returns a map with results. Scoped to a country level.
(make-locator f & {:keys [locales file-mode]})
Returns a locator from either a String file path, a File object or an InputStream. This locator is thread-safe. Takes 2 optional arguments:
Returns a locator from either a String file path, a File object or an InputStream. This locator is thread-safe. Takes 2 optional arguments: + **:locales** List of recognised locales, for example [:en :fr], used for default :name + **:file-mode** Either *:memory-mapped* (default) or *:memory*
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 |