first commit

This commit is contained in:
2022-03-17 15:59:24 +08:00
commit 2b0debb847
592 changed files with 73946 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package ios
import "gitlab.33.cn/chat/dtalk/service/offline-push/pusher"
const Name = "iOS"
func init() {
pusher.Register(Name, New)
}
func New(cfg pusher.Config) pusher.IPusher {
return &iOSPusher{
AppKey: cfg.AppKey,
AppMasterSecret: cfg.AppMasterSecret,
MiActivity: cfg.MiActivity,
environment: cfg.Environment,
}
}