tls_ping

Crates.iotls_ping
lib.rstls_ping
version0.1.6
sourcesrc
created_at2024-04-19 05:45:20.211139
updated_at2024-06-30 12:42:14.09009
descriptiontls_ping
homepagehttps://github.com/i18n-site/rust/tree/main/tls_ping
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1213304
size5,344
(3tieto)

documentation

README

tls_ping

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
}
Commit count: 20

cargo fmt