https://github.com/hack-fan/noti
Simply send notification to IM. Slack, Teams, Wechat Work, etc...
https://github.com/hack-fan/noti
Last synced: 4 months ago
JSON representation
Simply send notification to IM. Slack, Teams, Wechat Work, etc...
- Host: GitHub
- URL: https://github.com/hack-fan/noti
- Owner: hack-fan
- License: mit
- Created: 2020-11-16T15:46:57.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-17T11:35:22.000Z (over 5 years ago)
- Last Synced: 2024-06-20T16:42:19.570Z (almost 2 years ago)
- Language: Go
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Noti
Simply send notification to IM. Slack, Teams, Wechat Work, etc...
- [x] Wechat Work
- [ ] Slack
- [ ] Teams
## Getting start
Use Noti by Environment Variables
```shell script
NOTI_PROVIDER=wework
WEWORK_INFO_KEY=
WEWORK_WARN_KEY=
WEWORK_ERROR_KEY=
```
The KEY can find in Wechat Work group robot url.
Then use noti just like this:
```go
noti.Info("info")
noti.Warn("warn")
noti.Error("error")
```