queen/lib/queen.ex

13 lines
191 B
Elixir
Raw Normal View History

2024-02-13 01:39:18 +00:00
defmodule Queen do
import Plug.Conn
2024-02-13 01:39:18 +00:00
def init(opts) do
opts
end
2024-02-13 01:39:18 +00:00
def call(conn, _opts) do
:logger.debug("saying hello")
send_resp(conn, 200, "hello from queen")
2024-02-13 01:39:18 +00:00
end
end