alice v0.2.2 Alice.Handlers.Utils

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

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

Functions

commands()

All of the commands handled by this module

debug_conn(conn)

debug conn - the current conn data for debugging

debug_slack(conn)

debug slack - the current slack data for debugging

debug_state(conn)

debug state - the current state data for debugging

delete_state(conn, key)

Deletes the entries in the state for a specific key.

get_state(conn, key, default \\ nil)

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

info(conn)

info - info about Alice

match_commands(conn)

Match all commands in this module

match_routes(conn)

Match all routes in this module

ping(conn)

ping - responds with signs of life

put_state(conn, key, value)

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

routes()

All of the routes handled by this module