Documentation ¶
Index ¶
Constants ¶
View Source
const (
LogTable = "feishu"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v1.0.47
type Client struct {
// contains filtered or unexported fields
}
Client 实例
func NewClient ¶ added in v1.0.47
func NewClient(config *ClientConfig) (*Client, error)
NewClient 创建实例化
func (*Client) ConfigApiClientFun ¶ added in v1.0.52
func (c *Client) ConfigApiClientFun(apiClientFun golog.ApiClientFun)
ConfigApiClientFun 日志配置
func (*Client) WebhookSend ¶ added in v1.0.47
func (c *Client) WebhookSend(ctx context.Context, notMustParams ...gorequest.Params) *WebhookSendResult
WebhookSend https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN
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.