style: move channels to /channels
This commit is contained in:
parent
461295c14a
commit
66c3aef609
9 changed files with 111 additions and 121 deletions
11
src/api/v1/channels/mod.rs
Normal file
11
src/api/v1/channels/mod.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
use actix_web::{web, Scope};
|
||||
|
||||
mod uuid;
|
||||
|
||||
pub fn web() -> Scope {
|
||||
web::scope("/channels")
|
||||
.service(uuid::get)
|
||||
.service(uuid::delete)
|
||||
.service(uuid::messages::get)
|
||||
.service(uuid::socket::ws)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue