Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "1.0.7"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 实例
func (*Client) WebhookSend ¶
func (c *Client) WebhookSend(ctx context.Context, notMustParams ...gorequest.Params) *WebhookSendResult
WebhookSend https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN
type ClientConfig ¶ added in v1.0.6
type ClientConfig struct { Key string GormClientFun gormClientFun // 日志配置 MongoClientFun mongoClientFun // 日志配置 Debug bool // 日志开关 }
ClientConfig 实例配置
type WebhookSendResponse ¶
type WebhookSendResult ¶
type WebhookSendResult struct { Result WebhookSendResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
Click to show internal directories.
Click to hide internal directories.