Packages

Ewebmachine contains macros and plugs to allow you to compose HTTP decision handlers and run the HTTP decision tree to get your HTTP response. This project is a rewrite for Elixir and Plug of basho webmachine.

Current section

Files

Jump to
ewebmachine lib ewebmachine app.ex
Raw

lib/ewebmachine/app.ex

defmodule Ewebmachine.App do
@moduledoc false
use Application
import Supervisor.Spec
def start(_,_) do
Supervisor.start_link([
worker(Ewebmachine.Log,[]),
worker(GenEvent,[[name: Ewebmachine.Events]])
], strategy: :one_for_one)
end
end