Minor change
This commit is contained in:
parent
c774a705e0
commit
2ed60fa0f3
1 changed files with 3 additions and 3 deletions
|
@ -2,10 +2,10 @@ use vtapi::ApiClient;
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
let client = ApiClient::new();
|
let api_client = ApiClient::new();
|
||||||
|
|
||||||
let res = client.get_ip("8.8.8.8").await;
|
let res = api_client.get_ip("8.8.8.8").await;
|
||||||
println!("{:#?}", res);
|
println!("{:#?}", res);
|
||||||
let res = client.get_url("debian.org").await;
|
let res = api_client.get_url("debian.org").await;
|
||||||
println!("{:#?}", res);
|
println!("{:#?}", res);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue