Versions in this module Expand all Collapse all v1 v1.2.7 May 31, 2023 Changes in this version + const LABEL_TEMPLATE v1.2.0 Jun 2, 2020 v1.1.0 Oct 30, 2019 Changes in this version + const CONTENT_TYPE_JSON + const DEFAULT_MSG_TYPE + const GET_TOKEN_URL + const LABE_TEMPLATE + const NORMAL + const SEND_MSG_URL + const WARNING + const WECHAT_SINK + var MSG_TEMPLATE = "Level:%s \nKind:%s \nNamespace:%s \nName:%s \nReason:%s \nTimestamp:%s \nMessage:%s" + var MSG_TEMPLATE_ARR = [][]string + type Token struct + AccessToken string + ExpiresIn int + type WechatMsg struct + AgentID int + MsgType string + Safe int + Text WechatText + ToParty string + ToTag string + ToUser string + type WechatSink struct + AgentID int + CorpID string + CorpSecret string + Kinds []string + Labels []string + Level int + Namespaces []string + ToUser []string + func NewWechatSink(uri *url.URL) (*WechatSink, error) + func (d *WechatSink) ExportEvents(batch *core.EventBatch) + func (d *WechatSink) Name() string + func (d *WechatSink) Send(event *v1.Event) + func (d *WechatSink) Stop() + type WechatText struct + Content string