Liking cljdoc? Tell your friends :D

com.oscaro.maximator


lookup-cityclj

(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.
sourceraw docstring

lookup-countryclj

(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.
sourceraw docstring

make-locatorclj

(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:

  • :locales List of recognised locales, for example [:en :fr], used for default :name
  • :file-mode Either :memory-mapped (default) or :memory
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*
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close