first commit
This commit is contained in:
18
service/offline-push/pusher/ios/plugin.go
Normal file
18
service/offline-push/pusher/ios/plugin.go
Normal 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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user