[−][src]Crate roost_app
Middleware library that roost-client and roost depend upon in order to create instances of Roost applications.
Ultimately, managing the states, routes, and views of a Roost application.
Re-exports
pub use crate::state::*; |
Modules
__entry_route_mod__ | |
__patch_route_mod__ | |
__root_patch_route_mod__ | |
__root_route_mod__ | |
state | |
store | |
views |
Structs
App | Used for creating an instance of a Roost application |
Store | Manages the state wrapper and routing of the Roost application |
Functions
create_entry_route | |
create_patch_route | |
create_root_patch_route | |
create_root_route | |
download_entry_json | The |
download_json | index.html's JS downloadJson function imported as download_json in Rust |
download_patch_json | The |
download_root_json | The |
download_root_patch_json | The |
entry_route | The route handler of a specifed repository path without a specific patch. The selected patch will be the current state of the repository or the latest patch. |
make_router | Creates the router for application instances from route handlers |
patch_route | The route handler of a specified repository path with a specific patch. |
root_patch_route | The route handler of the root repository path with a specific patch. |
root_route | The route handler of the root repository path without a specified patch. The selected patch will be the current state of the repository or the latest patch. |