summaryrefslogtreecommitdiff
path: root/src/channel/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel/mod.rs')
-rw-r--r--src/channel/mod.rs15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/channel/mod.rs b/src/channel/mod.rs
index 4baa7e3..eb8200b 100644
--- a/src/channel/mod.rs
+++ b/src/channel/mod.rs
@@ -1,16 +1,9 @@
-use crate::event::Instant;
-
pub mod app;
+pub mod event;
+mod history;
mod id;
pub mod repo;
mod routes;
+mod snapshot;
-pub use self::{id::Id, routes::router};
-
-#[derive(Clone, Debug, Eq, PartialEq, serde::Serialize)]
-pub struct Channel {
- pub id: Id,
- pub name: String,
- #[serde(skip)]
- pub created: Instant,
-}
+pub use self::{event::Event, history::History, id::Id, routes::router, snapshot::Channel};