sheriff v0.1.0 Sheriff.Plug

Not an actual Plug but a collection of Plug related helper functions.

Summary

Functions

Retrieve the current Actor resource

Retrieve the current resource for the request

Functions

conn_action(conn)
conn_tuple(conn)
current_actor(conn)

Retrieve the current Actor resource.

current_resource(conn)

Retrieve the current resource for the request.

from_opts(opts, key)
handle_error(error, conn, opts)