alice_xkcd v0.0.5 Alice.Handlers.Xkcd

Link to this section Summary

Functions

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

xkcd [latest] - get the latest XKCD

Match all commands in this module

Match all routes in this module

xkcd <number> - get a specific XKCD

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

xkcd random - get a random XKCD

All of the routes handled by this module

Link to this section Functions

All of the commands handled by this module

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

xkcd [latest] - get the latest XKCD

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

xkcd <number> - get a specific XKCD

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

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

xkcd random - get a random XKCD

All of the routes handled by this module