mirror of
https://github.com/sadoyan/aralez.git
synced 2026-04-30 23:08:40 +08:00
Compare dashmaps
This commit is contained in:
@@ -78,15 +78,8 @@ pub async fn watch_file(fp: String, mut toreturn: Sender<UpstreamMap>) {
|
|||||||
println!("Config File changed :=> {:?}", e);
|
println!("Config File changed :=> {:?}", e);
|
||||||
|
|
||||||
let upstreams = build_upstreams2("etc/upstreams-long.conf", "filepath");
|
let upstreams = build_upstreams2("etc/upstreams-long.conf", "filepath");
|
||||||
|
|
||||||
print_upstreams(&upstreams);
|
print_upstreams(&upstreams);
|
||||||
|
|
||||||
let host_entry = upstreams.get("myip.netangels.net").unwrap();
|
|
||||||
let path_entry = host_entry.get("/").unwrap();
|
|
||||||
for p in path_entry.value().0.clone() {
|
|
||||||
println!(" {:?}", p);
|
|
||||||
}
|
|
||||||
|
|
||||||
println!("\n\n");
|
println!("\n\n");
|
||||||
|
|
||||||
let snd = build_upstreams(file_path, "filepath");
|
let snd = build_upstreams(file_path, "filepath");
|
||||||
|
|||||||
Reference in New Issue
Block a user