feat: add push message - wxpusher #98

This commit is contained in:
duorameng
2026-05-11 19:24:04 +08:00
parent 0dad9dd541
commit 3897bfc281
6 changed files with 150 additions and 0 deletions
+2
View File
@@ -49,6 +49,7 @@ const (
ChannelGotify = channels.ChannelGotify
ChannelPushPlus = channels.ChannelPushPlus
ChannelVoceChat = channels.ChannelVoceChat
ChannelWxPusher = channels.ChannelWxPusher
)
// 重导出辅助函数
@@ -82,6 +83,7 @@ func init() {
RegisterChannel(ChannelAliyunSMS, func() Channel { return channels.NewAliyunSMSChannel() })
RegisterChannel(ChannelPushPlus, func() Channel { return channels.NewPushPlusChannel() })
RegisterChannel(ChannelVoceChat, func() Channel { return channels.NewVoceChatChannel() })
RegisterChannel(ChannelWxPusher, func() Channel { return channels.NewWxPusherChannel() })
}
// RegisterChannel 注册自定义渠道(可用于扩展)