You've already forked AstralRinth
forked from didirus/AstralRinth
* Add more analytics * finish hydra move * Finish websocket flow * add minecraft account flow * Finish playtime vals + payout automation
16 lines
284 B
Rust
16 lines
284 B
Rust
//! "Database" for Hydra
|
|
use actix_ws::Session;
|
|
use dashmap::DashMap;
|
|
|
|
pub struct ActiveSockets {
|
|
pub auth_sockets: DashMap<String, Session>,
|
|
}
|
|
|
|
impl Default for ActiveSockets {
|
|
fn default() -> Self {
|
|
Self {
|
|
auth_sockets: DashMap::new(),
|
|
}
|
|
}
|
|
}
|