phoenix_gon v0.4.0 PhoenixGon.Controller

Adds helpers for working with gon on elixir controller modules.

Link to this section Summary

Functions

Returns variable

Put variables to gon

Update variables in gon

Link to this section Functions

Link to this function get_gon(conn, key)
get_gon(Plugg.Conn, Atom.t()) :: any()

Returns variable.

Link to this function put_gon(conn, key, value)
put_gon(Plug.Conn.t(), Atom.t(), any()) :: Plug.Conn.t()

Put variables to gon.

Link to this function update_gon(conn, key, value)
update_gon(Plug.Conn.t(), Atom.t(), any()) :: Plug.Conn.t()

Update variables in gon.