API for noir.server - Noir ()


Usage:
(ns your-namespace
  (:require noir.server))

Overview

A collection of functions to handle Noir's server and add middleware to the stack.

Public Variables and Functions



add-middleware

function
Usage: (add-middleware func & args)
Add a middleware function to the noir server. Func is a standard ring middleware
function, which will be passed the handler. Any extra args to be applied should be
supplied along with the function.


load-views

function
Usage: (load-views dir)
Require all the namespaces in the given dir so that the pages are loaded
by the server.


start

function
Usage: (start port opts)
Start the noir server bound to the specified port with a map of options. The available
options are [:mode :ns], where mode should be either :dev or :prod and :ns should be
the root namespace of your project.
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.