mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2026-05-25 23:59:15 +00:00
refactored
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
// https://tools.ietf.org/rfc/rfc5128.txt
|
||||
// https://blog.csdn.net/bytxl/article/details/44344855
|
||||
|
||||
use hbb_common::{env_logger, log, tokio, ResultType};
|
||||
use hbbs::*;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
async fn main() -> ResultType<()> {
|
||||
env_logger::init();
|
||||
let addr = "0.0.0.0:21116";
|
||||
log::info!("Start Server {}", addr);
|
||||
|
||||
Reference in New Issue
Block a user