Crates.io | tls_ping |
lib.rs | tls_ping |
version | 0.1.6 |
source | src |
created_at | 2024-04-19 05:45:20.211139 |
updated_at | 2024-06-30 12:42:14.09009 |
description | tls_ping |
homepage | https://github.com/i18n-site/rust/tree/main/tls_ping |
repository | https://github.com/i18n-site/rust.git |
max_upload_size | |
id | 1213304 |
size | 5,344 |
use aok::{Result, OK};
use static_init::constructor;
use tls_ping::tls_ping;
// use tracing::info;
#[constructor(0)]
extern "C" fn init() {
loginit::init()
}
#[tokio::test]
async fn test() -> Result<()> {
tls_ping("6.cn", "123.57.242.213".parse()?, 30).await?;
OK
}