Liking cljdoc? Tell your friends :D

sns-clj

Embedded sns for clojure

Usage

Clojars Project

Development:

(require 'sns-clj.core)

;; Start a local sns with default port:
(init-sns)

;; another call will halt the previous system:
(init-sns)

;; When you're done:
(halt-sns!)

Testing:

NOTE: these will halt running sns instances

(require 'clojure.test)

(use-fixtures :once with-sns-fn)

(defn around-all
  [f]
  (with-sns-fn "optional file path for custom.conf"
                    f))

(use-fixtures :once around-all)


; You can also wrap ad-hoc code in init/halt:
(with-sns "optional file path for custom.conf"
  do-something) 

Can you improve this documentation?Edit on GitHub

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

× close