signal-fish-server 0.1.0

A lightweight, in-memory WebSocket signaling server for peer-to-peer game networking
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::EnhancedGameServer;
use anyhow::Result;

impl EnhancedGameServer {
    pub async fn admin_user_exists(&self, email: &str) -> Result<bool> {
        self.database.admin_user_exists(email).await
    }

    pub async fn health_check(&self) -> bool {
        self.database.health_check().await
    }
}