Jump To …

index.coffee

This is the annotated source code for Pow, a zero-configuration Rack server for Mac OS X. See the user's manual for information on installation and usage.

The annotated source HTML is generated by Docco.

Table of contents

module.exports =

The Configuration class stores settings for a Pow daemon and is responsible for mapping hostnames to Rack applications.

  Configuration:   require "./configuration"

The Daemon class represents a running Pow daemon.

  Daemon:          require "./daemon"

DnsServer handles incoming DNS queries.

  DnsServer:       require "./dns_server"

HttpServer handles incoming HTTP requests.

  HttpServer:      require "./http_server"

Installer compiles and installs local and system configuration files.

  Installer:       require "./installer"

Logger instances keep track of everything that happens during a Pow daemon's lifecycle.

  Logger:          require "./logger"

RackApplication represents a single running application.

  RackApplication: require "./rack_application"

The util module contains various helper functions.

  util:            require "./util"