Liking cljdoc? Tell your friends :D

hara.platform.local


local-hostclj

(local-host)

returns the current host

(local-host) ;; #object[java.net.Inet4Address 0x4523dee "chapterhouse.local/127.0.0.1"] => java.net.Inet4Address

returns the current host

(local-host)
;; #object[java.net.Inet4Address 0x4523dee "chapterhouse.local/127.0.0.1"]
=> java.net.Inet4Address
raw docstring

local-hostnameclj

(local-hostname)

returns the current host name

(local-hostname) ;; "chapterhouse.local" => string?

returns the current host name

(local-hostname)
;; "chapterhouse.local"
=> string?
raw docstring

local-ipclj

(local-ip)

returns the current ip

(local-ip) ;; "127.0.0.1" => string?

returns the current ip

(local-ip)
;; "127.0.0.1"
=> string?
raw docstring

local-shortnameclj

(local-shortname)

returns the current host short name

(local-shortname) ;; "chapterhouse" => string?

returns the current host short name

(local-shortname)
;; "chapterhouse"
=> string?
raw docstring

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

× close