Versions in this module Expand all Collapse all v0 v0.0.1 Aug 2, 2022 Changes in this version + const ApiUrl + func RestFulRequest(ctx context.Context, bodyByte []byte, url, action, token string) (string, error) + func Signature(appKey string, masterSecret string) (string, string) + type Alert struct + ActionLocKey string + Body string + LaunchImage string + LocArgs []string + LocKey string + SubTitle string + SubTitleLocArgs []string + SubTitleLocKey string + Title string + TitleLocArgs []string + TitleLocKey string + type AndroidChannel struct + Ups *Ups + type Aps struct + Alert *Alert + Category string + ContentAvailable int + Sound string + ThreadId string + type Audience struct + Alias []string + Cid []string + FastCustomTag string + Tag *[]Tag + type GeTuiConfig struct + AppId string + AppKey string + AppSecret string + MasterSecret string + type IosChannel struct + ApnsCollapseId string + Aps *Aps + AutoBadge string + Multimedia *[]Multimedia + PayLoad string + Type string + type Multimedia struct + OnlyWifi bool + Type int + Url string + type Notification struct + BadgeAddNum int + BigImage string + BigText string + Body string + ChannelId string + ChannelLevel int + ChannelName string + ClickType string + Intent string + Logo string + LogoUrl string + NotifyId int64 + Options *Options + PayLoad string + RingName string + Title string + Url string + type Options struct + Constraint string + Key string + Value string + type PublicResult struct + Code int + Msg string + type PushChannel struct + Android *AndroidChannel + Ios *IosChannel + type PushMessage struct + Duration string + Notification *Notification + Revoke *Revoke + Transmission string + type Revoke struct + Force bool + OldTaskId string + type Settings struct + ScheduleTime int64 + Speed int + Strategy *Strategy + TTL int64 + type Strategy struct + Default int + Hw int + Ios int + Mz int + Op int + St int + Vv int + Xm int + type Tag struct + Key string + OptType string + Values []string + type Ups struct + Notification *Notification + TransMission string