Commit Graph

25 Commits

Author SHA1 Message Date
Mmx
1dcd899591
Fix Coroutine Leaks and Proxy Handling in http.Client (#304)
* fix: builtin variable conflict

* feat: add pkg/utils/http HttpClientSkipTlsVerify HttpClient

* fix: realtime create http Transport

* fix: http keepalive connection may not reusable

* feat: allow http request use proxy from environment
2023-12-05 23:22:25 +08:00
naiba
a2e34bfc49 fix gosec (3 2023-10-21 22:21:21 +08:00
naiba
68f10e4fc7 fix gosec 2023-10-21 22:11:55 +08:00
naiba
014abbc41e fix gosec 2023-10-21 18:13:38 +08:00
naiba
93bcf833fd v0.15.2 消息模板新增 #DATETIME# 占位符 2023-09-02 00:06:40 +08:00
naiba
ff8bf16171 fix gosec G307 2023-02-12 21:10:34 +08:00
naiba
1561ccb2fb ⬆️ upgrade dependencies 2022-09-14 22:26:14 +08:00
Akkia
fc9a65d18c
update: #SERVER.IP#仅返回一个IP(优先返回ipv4地址)| 新增获取ipv4与ipv6地址的占位符 2022-04-24 21:21:03 +08:00
Akkia
55cbbcafe6
update: 增加TCP连接数与UDP连接数的占位符 2022-04-22 16:30:05 +08:00
Akkia
e20b37b590
update: 增加更多占位符与单元测试 2022-04-17 21:06:30 +08:00
Akkia
f6a5362a97
WIP: 添加更多的占位符以支持基于服务器状态指标构造自定义的HTTP请求 2022-04-17 17:38:45 +08:00
Akkia
9c1d495eb0
WIP: 通知方式分组 支持将不同的报警|监控|计划任务的通知 发送到指定的通知分组 2022-04-14 21:06:42 +08:00
naiba
3ca23d8d88 ️ 使用 json-iterator 替换 encoding/json 进行一些序列化/反序列化操作 2022-03-18 23:13:22 +08:00
naiba
f63d8ba613 add tests 2021-11-05 15:49:01 +08:00
naiba
96c25f6fba 🐛 默认请求方式 2021-11-05 14:53:27 +08:00
naiba
17a53f8829 ♻️ set content type 2021-11-05 12:16:41 +08:00
naiba
6636d77cfd ♻️ 通知支持自定义 request header 2021-11-05 12:04:39 +08:00
naiba
ac3cfa162c 💚 #nosec 2021-09-04 12:54:05 +08:00
naiba
e40026f6cc gosec 2021-09-04 12:42:51 +08:00
naiba
d7ea114068 🔊 dashboard: 默认输出服务故障上报日志 2021-08-27 21:04:37 +08:00
naiba
503be7b83f 🔥 chore: unnecessary code 2021-01-03 21:17:39 +08:00
naiba
e9690a5b50 🐛 fix(notification): close #47
query escape && json encode
2021-01-03 21:11:00 +08:00
naiba
d91819a265 🎨 refactor: notification 2020-12-30 21:28:57 +08:00
naiba
2ae832f509 🍻 报警通知上线 2020-12-20 12:18:27 +08:00
naiba
d19de0edc2 feat(notification): 添加通知方式 2020-12-19 22:14:36 +08:00