SysMonk 0.1.1

SysMonk is a highly efficient, lightweight API for resource monitoring that uses WebSockets for real-time streaming.
Documentation
/// Module for `/` and `/health` entrypoint.
pub mod basics;
/// Module for `/login`, `/logout` and `/error` entrypoint.
pub mod auth;
/// Module for `/monitor` entrypoint.
pub mod monitor;
/// Module for `/ws/system` entrypoint.
pub mod websocket;

use actix_web::web;

/// Configures the websocket service.
///
/// # Arguments
///
/// * `cfg` - A mutable reference to the Actix web `ServiceConfig` object.
pub fn configure_websocket(cfg: &mut web::ServiceConfig) {
    cfg.service(websocket::echo);
}