Improve controller endpoint and model
This commit is contained in:
parent
2f51ebf91e
commit
6400b7745c
5 changed files with 103 additions and 7 deletions
emgauwa-core/src
|
@ -57,6 +57,9 @@ async fn main() -> std::io::Result<()> {
|
|||
.app_data(web::Data::new(pool.clone()))
|
||||
.app_data(web::Data::new(connected_controllers.clone()))
|
||||
.service(handlers::v1::controllers::index)
|
||||
.service(handlers::v1::controllers::show)
|
||||
.service(handlers::v1::controllers::update)
|
||||
.service(handlers::v1::controllers::delete)
|
||||
.service(handlers::v1::relays::index)
|
||||
.service(handlers::v1::schedules::index)
|
||||
.service(handlers::v1::schedules::tagged)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue