Warlock.Handler behaviour (warlock v1.0.1)
Link to this section Summary
Link to this section Callbacks
Specs
delete(conn :: Plug.Conn.t(), id :: String.t()) :: Plug.Conn.t() | no_return()
Specs
edit(conn :: Plug.Conn.t(), id :: String.t()) :: Plug.Conn.t() | no_return()
Specs
get(conn :: Plug.Conn.t()) :: Plug.Conn.t() | no_return()
Specs
new(conn :: Plug.Conn.t()) :: Plug.Conn.t() | no_return()
Specs
show(conn :: Plug.Conn.t(), id :: String.t()) :: Plug.Conn.t() | no_return()
Link to this section Functions
Link to this function
json(conn, status, payload)
Link to this function
message(conn, status, message)
Link to this function