Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FloatDecimal ¶
func StrToInt64 ¶
Types ¶
type Config ¶
type Config struct {
Secret string `yaml:"Secret" json:"Secret,omitempty"` // 密钥
Urls string `yaml:"Urls" json:"Urls,omitempty"` // 路径
AtMobiles []string `yaml:"AtMobiles" json:"AtMobiles,omitempty"` // @的手机号(固定)
AtUserIds []string `yaml:"AtUserIds" json:"AtUserIds,omitempty"` // @的用户id(固定)
Interval int64 `yaml:"Interval" json:"Interval,omitempty"` // 相同信息发送间隔,单位:(秒)
}
Config 钉钉配置
type DingSrv ¶
type DingSrv struct {
// contains filtered or unexported fields
}
func NewDingSrv ¶
func (*DingSrv) DingdingDirectSend ¶
DingdingDirectSend 直接发送消息
type Option ¶
type Option struct {
AtMobiles []string // @的手机号(额外添加)
AtUserIds []string // @的用户id(额外添加)
// contains filtered or unexported fields
}
Option 发送小时时可以支持的额外参数
type PanicInfo ¶
func GetPanicInfo ¶
type ResultForDingDing ¶
Click to show internal directories.
Click to hide internal directories.