Versions in this module Expand all Collapse all v1 v1.2.0 Dec 8, 2021 Changes in this version + type ConfigHuawei struct + AppPkgName string + ClientId string + ClientSecret string + type ConfigIosCert struct + CertPath string + IsSandBox bool + Password string + type ConfigIosToken struct + BundleId string + IsSandBox bool + KeyId string + SecretFile string + TeamId string + type ConfigMeizu struct + AppId string + AppPkgName string + AppSecret string + type ConfigOppo struct + AppKey string + AppPkgName string + MasterSecret string + type ConfigVivo struct + AppId string + AppKey string + AppPkgName string + AppSecret string + type ConfigXiaomi struct + AppPkgName string + AppSecret string + type Message struct + BusinessId string + CallBack string + CallbackParam string + Content string + Extra map[string]string + SubTitle string + Title string + type PlatformType string + const HuaweiPlatform + const IosCertPlatform + const IosTokenPlatform + const MeizuPlatform + const OppoPlatform + const VivoPlatform + const XiaomiPlatform + type PushClientInterface interface + GetAccessToken func(ctx context.Context) (interface{}, error) + PushNotice func(ctx context.Context, pushRequest *PushMessageRequest) (interface{}, error) + type PushConfig struct + type PushMessageRequest struct + AccessToken string + DeviceTokens []string + ExpireTime string + Message *Message + type PushMessageResponse struct