feat: add pushplus

This commit is contained in:
engigu
2026-03-06 09:23:53 +08:00
parent e7324729c4
commit 7061cabd82
6 changed files with 118 additions and 0 deletions
+2
View File
@@ -47,6 +47,7 @@ const (
ChannelPushMe = channels.ChannelPushMe
ChannelNtfy = channels.ChannelNtfy
ChannelGotify = channels.ChannelGotify
ChannelPushPlus = channels.ChannelPushPlus
)
// 重导出辅助函数
@@ -78,6 +79,7 @@ func init() {
RegisterChannel(ChannelCustom, func() Channel { return channels.NewCustomChannel() })
RegisterChannel(ChannelWeChatOFAccount, func() Channel { return channels.NewWeChatOFAccountChannel() })
RegisterChannel(ChannelAliyunSMS, func() Channel { return channels.NewAliyunSMSChannel() })
RegisterChannel(ChannelPushPlus, func() Channel { return channels.NewPushPlusChannel() })
}
// RegisterChannel 注册自定义渠道(可用于扩展)