8 releases

0.1.8 Aug 17, 2024
0.1.7 Jul 27, 2024
0.1.6 Jun 30, 2024
0.1.3 Apr 19, 2024

#34 in #mark-down

49 downloads per month

MulanPSL-2.0

14KB
111 lines

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 ⋅ 国际化解决方案 的开源组件。

Dependencies

~14–24MB
~436K SLoC