queen/lib/queen.ex

12 lines
191 B
Elixir

defmodule Queen do
import Plug.Conn
def init(opts) do
opts
end
def call(conn, _opts) do
:logger.debug("saying hello")
send_resp(conn, 200, "hello from queen")
end
end