pondsocket 0.1.4

Channel-based realtime server framework with distributed pubsub support.
Documentation
1
2
3
4
5
6
7
8
9
10
use std::sync::Arc;

use crate::channel::Channel;
use crate::types::User;

pub struct LeaveContext {
    pub channel: Arc<Channel>,
    pub user: User,
    pub reason: String,
}