report

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReceiveReport

type ReceiveReport struct {
	common.ResponseBase

	Report []ReceivedReportNode
}

func (*ReceiveReport) FromResponse

func (report *ReceiveReport) FromResponse(resp *http.Response) error

func (*ReceiveReport) String

func (report *ReceiveReport) String() string

type ReceivedReportNode

type ReceivedReportNode struct {
	MsgId           uint64 `json:"msg_id"`
	AndroidReceived int    `json:"android_received"` // Android 送达。如果无此项数据则为 null
	IosApnsSent     int    `json:"ios_apns_sent"`    // iOS 推送成功。如果无此项数据则为 null
	IosMsgReceived  int    `json:"ios_msg_received"` // iOS 自定义消息送达数。如果无此项数据则为null
	WpMpnsSent      int    `json:"wp_mpns_sent"`     // winphone 通知送达。如果无此项数据则为 null
}

func (*ReceivedReportNode) String

func (node *ReceivedReportNode) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL