Liking cljdoc? Tell your friends :D
Clojure only.

com.oscaro.maximator


lookupclj

(lookup db ip)

Lookup an IP given as a String in the given locator and returns a map with results

Lookup an IP given as a String in the given locator and returns a map with results
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 threadsafe. 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 threadsafe. 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