tls_ping

Crates.iotls_ping
lib.rstls_ping
version0.1.8
sourcesrc
created_at2024-04-19 05:45:20.211139
updated_at2024-08-17 13:19:57.056259
descriptiontls_ping
homepagehttps://github.com/i18n-site/rust/tree/main/tls_ping
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1213304
size6,472
i18n.site (i18nsite)

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
}

About

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

Commit count: 21

cargo fmt