mirror of
https://github.com/easychen/pushdeer.git
synced 2025-04-30 16:29:51 +08:00
21 lines
490 B
Go
21 lines
490 B
Go
package notify
|
|
|
|
import (
|
|
"github.com/appleboy/go-fcm"
|
|
"github.com/msalihkarakasli/go-hms-push/push/core"
|
|
"github.com/sideshow/apns2"
|
|
)
|
|
|
|
var (
|
|
// ApnsClient is apns client
|
|
ApnsClient *apns2.Client
|
|
// FCMClient is apns client
|
|
FCMClient *fcm.Client
|
|
// HMSClient is Huawei push client
|
|
HMSClient *core.HMSClient
|
|
// MIPUSHClient is mi push client
|
|
MIPUSHClient *XMPush
|
|
// MaxConcurrentIOSPushes pool to limit the number of concurrent iOS pushes
|
|
MaxConcurrentIOSPushes chan struct{}
|
|
)
|