Files
2022-03-17 15:59:24 +08:00

19 lines
352 B
Go

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,
}
}