alice v0.3.7 Alice.Handlers.Utils

Some utility routes for Alice

Link to this section Summary

Functions

All of the commands handled by this module

debug conn - the current conn data for debugging

debug slack - the current slack data for debugging

debug state - the current state data for debugging

Deletes the entries in the state for a specific key

Get the state from an Alice.Conn struct, namespaced to this module

info - info about Alice and the system

Match all commands in this module

Match all routes in this module

ping - responds with signs of life

Update the state of an Alice.Conn struct, namespaced to this module

All of the routes handled by this module

Link to this section Functions

Link to this function bytes_to_megabytes(bytes)

All of the commands handled by this module

Link to this function debug_conn(conn)

debug conn - the current conn data for debugging

Link to this function debug_slack(conn)

debug slack - the current slack data for debugging

Link to this function debug_state(conn)

debug state - the current state data for debugging

Link to this function delete_state(conn, key)

Deletes the entries in the state for a specific key.

Link to this function get_state(conn, key, default \\ nil)

Get the state from an Alice.Conn struct, namespaced to this module

info - info about Alice and the system

Link to this function match_commands(conn)

Match all commands in this module

Link to this function match_routes(conn)

Match all routes in this module

ping - responds with signs of life

Link to this function put_state(conn, key, value)

Update the state of an Alice.Conn struct, namespaced to this module

All of the routes handled by this module