mod.rs 508 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Core abstractions for the SGLang router
//!
//! This module contains the fundamental types and traits used throughout the router:
//! - Worker trait and implementations
//! - Error types
//! - Common utilities

pub mod error;
pub mod worker;

// Re-export commonly used types at the module level
pub use error::{WorkerError, WorkerResult};
pub use worker::{
14
15
    start_health_checker, BasicWorker, DPAwareWorker, HealthChecker, Worker, WorkerCollection,
    WorkerFactory, WorkerLoadGuard, WorkerType,
16
};