Files
Gen_Hack-and-Slash-Roguelite/Server/src/network_service.rs

16 lines
314 B
Rust
Raw Normal View History

2025-07-10 18:27:09 +08:00
mod tcp_server;
use tcp_server::TcpServer;
pub(crate) struct NetworkService;
impl NetworkService {
pub(crate) async fn init() {
log::info!("Starting network service...");
tokio::spawn(async { TcpServer::init().await });
log::info!("network service successfully started!");
}
}