summaryrefslogtreecommitdiffstats
path: root/lib/src/reactor/account.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/reactor/account.rs')
-rw-r--r--lib/src/reactor/account.rs19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/src/reactor/account.rs b/lib/src/reactor/account.rs
new file mode 100644
index 0000000..59913b5
--- /dev/null
+++ b/lib/src/reactor/account.rs
@@ -0,0 +1,19 @@
+//! Module for account handling (following accounts, caching account updates) using the gossip
+//! module for the lower-level handling
+
+use std::sync::Arc;
+
+use anyhow::Result;
+use tokio::sync::RwLock;
+
+use crate::profile::Profile;
+use crate::reactor::gossip::GossipReactor;
+
+#[derive(Debug)]
+pub struct AccountReactor(GossipReactor);
+
+impl AccountReactor {
+ pub(super) fn new(profile: Arc<RwLock<Profile>>) -> Self {
+ unimplemented!()
+ }
+}