 (ns {{name}}.website
   (:require
-   [clojure.core.async :refer (go >! <! buffer chan)]
+   [clojure.core.async :refer (go >! <! buffer dropping-buffer sliding-buffer chan take!)]
    [clojure.pprint :refer (pprint)]
    [clojure.tools.logging :refer :all]
    [bidi.bidi :refer (path-for)]

          [:body
           [:h1 "HTTP Async"]
           [:p [:a {:href "/system.html"} "System"]]
           [:p [:a {:href "/channel.html"} "Channel"]]])})

(defn show-system []
  (fn [req]

  (routes [_] ["/" {"index.html" ::index
                    "" (redirect ::index)
                    "system.html" ::show-system
                    "channel.html" ::show-channel
                    "drop" ::drop}])

  ;; A WebService can be 'mounted' underneath a common uri context
  (uri-context [_] ""))
