1
0
Fork 0
forked from forgejo/forgejo

Add dingtalk webhook (#2777)

* add dingtalk webhook type

* add vendor

* some fixes

* fix name check

* fix name check & improvment
This commit is contained in:
Lunny Xiao 2017-11-21 12:26:43 +08:00 committed by Lauris BH
parent 420fc8efc2
commit 10b54df2b2
16 changed files with 725 additions and 11 deletions

18
vendor/github.com/lunny/dingtalk_webhook/README.md generated vendored Normal file
View file

@ -0,0 +1,18 @@
# 非官方 Dingtalk webhook Golang SDK
## 此工程仅封装了 Dingtalk 的 webhook 部分的请求
## 使用
首先在dingtalk中创建一个机器人将accessToken拷贝出来然后执行下面方法即可
```Go
webhook := dingtalk.Webhook(accessToken)
webhook.SendTextMsg("这是一个没有AT的文本消息", false)
```
## License
This project is licensed under the MIT License.
See the [LICENSE](https://github.com/lunny/webhook_dingtalk/blob/master/LICENSE) file
for the full license text.