Packages

This library is a summary of the functions that are generally required for Web service development.

Current section

Files

Jump to
servicex lib servicex plug debug.ex
Raw

lib/servicex/plug/debug.ex

defmodule Servicex.Plug.Debug do
import Plug.Conn
def init(opts) do
IO.puts("--- Servicex.Plug.Debug init---------------------")
IO.inspect(opts)
end
def call(conn, _repo) do
IO.puts("--- Servicex.Plug.Debug call conn ---------------------")
IO.inspect(conn)
end
end