Crates.io | xwarn |
lib.rs | xwarn |
version | 0.0.10 |
source | src |
created_at | 2023-09-15 03:35:41.194236 |
updated_at | 2023-09-15 03:35:41.194236 |
description | 用 wxpusher 发送微信报警 |
homepage | https://github.com/xxai-art/xwarn |
repository | https://github.com/xxai-art/xwarn |
max_upload_size | |
id | 973445 |
size | 10,053 |
用 wxpusher 发送微信报警
send weixin warn use https://wxpusher.zjiecode.com
use anyhow::Result;
#[tokio::test]
async fn main() -> Result<()> {
xwarn::send("test!").await?;
Ok(())
}
run
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
running 1 test
test main ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s