dingtalk

package
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DingTalk

type DingTalk struct {
	Token  string // webhook中的token
	Secret string // 加签
}

DingTalk https://open.dingtalk.com/document/robots/customize-robot-security-settings

func NewDingTalk

func NewDingTalk(token string, secret string) *DingTalk

func (*DingTalk) SendMsgToDingDing

func (obj *DingTalk) SendMsgToDingDing(msg string) error

SendMsgToDingDing 钉钉机器人发送消息

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL