3 releases

0.1.3 Apr 19, 2024
0.1.2 Apr 19, 2024
0.1.1 Apr 19, 2024

#46 in #ok

Download history 224/week @ 2024-04-13 77/week @ 2024-04-20

301 downloads per month

Apache-2.0

8KB
103 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
}

Dependencies

~13–24MB
~424K SLoC