package
1.18.9
Repository: https://github.com/appleboy/gorush.git
Documentation: pkg.go.dev

# Functions

CheckMessage for check request message.
CheckPushConf provide check your yml config.
DispatchFeedback sends a feedback log entry to a specified URL via an HTTP POST request.
GetAndroidNotification use for define Android notification.
GetHuaweiNotification use for define HMS notification.
GetIOSNotification use for define iOS notification.
GetPushClient use for create HMS Push.
InitAPNSClient use for initialize APNs Client.
InitFCMClient use for initialize FCM Client.
InitHMSClient use for initialize HMS Client.
PushToAndroid provide send notification to Android server.
PushToHuawei provide send notification to Android server.
PushToIOS provide send notification to APNs server.
SendNotification provide send notification.
SetProxy only working for FCM server.

# Constants

ApnsPriorityHigh will tell APNs to send the push message immediately.
ApnsPriorityLow will tell APNs to send the push message at a time that takes into account power considerations for the device.

# Variables

ApnsClient is apns client.
DialTLS is the default dial function for creating TLS connections for non-proxied HTTPS requests.
FCMClient is apns client.
HMSClient is Huawei push client.
MaxConcurrentIOSPushes pool to limit the number of concurrent iOS pushes.
Run send notification.

# Structs

Alert is APNs payload.
PushNotification is single notification request.
RequestPush support multiple notification request.
ResponsePush response of notification request.
Sound sets the aps sound on the payload.

# Type aliases

D provide string array.