alice v0.4.0 Alice.Handlers.TestHandler
Purely for testing purposes
Link to this section Summary
Functions
this function should not appear in help because it's not a route or command
cmd1
: does some stuff
cmd2
: does some other stuff
also this one is multiline
this one doesn't start with an example so no @alice is added
All of the commands handled by this module
Deletes the entries in the state for a specific key
.
Get the state from an Alice.Conn struct, namespaced to this module
Match all commands in this module
Match all routes in this module
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
another_func()
this function should not appear in help because it's not a route or command
command1(conn)
cmd1
: does some stuff
command2(conn)
cmd2
: does some other stuff
also this one is multiline
command3(conn)
this one doesn't start with an example so no @alice is added
commands()
All of the commands handled by this module
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
match_commands(conn)
Match all commands in this module
match_routes(conn)
Match all routes in this module
no_docs(conn)
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