Module app

Source

Structs§

AppState
State with DbExecutor address

Functions§

create_app
creates and returns the app after mounting all routes/resources
gpio_status_route
Get status of GPIO
set_gpio_level_route
Set GPIO level to HIGH or LOW