diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-09-14 00:29:34 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-09-14 00:29:34 +0800 |
| commit | 4f75bc1b3fd85a7b54cf6bbb6e895c2deb353299 (patch) | |
| tree | 64f4724c1d5e19314e2f6e93448c295279e07896 /src/client/main.rs | |
| parent | af71458da96fdc7699bed2d04c677a352f5af5fe (diff) | |
feat(executor): integrate into httpconnector
cleanup: main
Diffstat (limited to 'src/client/main.rs')
| -rw-r--r-- | src/client/main.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/main.rs b/src/client/main.rs index cada2f8..bceaa82 100644 --- a/src/client/main.rs +++ b/src/client/main.rs @@ -1,13 +1,9 @@ #![feature(associated_type_defaults, never_type)] -use std::thread; - use crate::connector::{connectors::httpconnector::HTTPConnector, manager::ConnectorManager}; mod connector; mod executor; fn main() { - ConnectorManager::new(HTTPConnector::new("https://example.com").unwrap()).enter_loop(); - - thread::park(); + ConnectorManager::new(HTTPConnector::new("http://127.0.0.1").unwrap()).enter_loop(); } |
