Add draft for euph room connection
This commit is contained in:
parent
a57e15c9f3
commit
21010fc48a
5 changed files with 167 additions and 15 deletions
|
|
@ -1,14 +1,5 @@
|
|||
mod api;
|
||||
|
||||
use std::convert::Infallible;
|
||||
|
||||
use tokio::sync::{mpsc, oneshot};
|
||||
mod room;
|
||||
|
||||
pub use api::{Message, SessionView, Snowflake, Time, UserId};
|
||||
|
||||
enum Request {}
|
||||
|
||||
pub struct EuphRoom {
|
||||
canary: oneshot::Sender<Infallible>,
|
||||
tx: mpsc::Sender<Request>,
|
||||
}
|
||||
pub use room::Room;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue