Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionCard ¶
type ActionCard struct { Title string `json:"title"` Text string `json:"text"` HideAvatar string `json:"hideAvatar"` BtnOrientation string `json:"btnOrientation"` SingleTitle string `json:"singleTitle"` SingleURL string `json:"singleURL"` }
ActionCard is ding talk msg sub struct
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is ding talk notifier client
func (*Client) SetHTTPClient ¶
SetHTTPClient can replace http client to yourself
type RequestMsg ¶
type RequestMsg struct { Msgtype string `json:"msgtype"` ActionCard `json:"actionCard"` }
DingTalkMsg is ding talk msg struct
Click to show internal directories.
Click to hide internal directories.