report

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIv3

type APIv3 interface {
	// 送达统计详情
	//  - 功能说明:获取指定 msgIDs(最多支持 100 个)的送达统计数据。如果一次 API 调用推送有很多对象(比如广播推送),则此 API 返回的统计数据会因为持续有客户端送达而持续增加。
	//  此接口会根据消息是通过极光自有通道下发、Android 厂商通道下发进行数据统计区分。
	//  每条推送消息的送达统计数据最多保留一个月。即发起推送请求后从最后一个推送送达记录时间点开始保留一个月,如果保留期间有新的送达,将在这个新送达的时间点起再往后保留一个月。
	//  - 调用地址:GET `/v3/received/detail`
	//  - 接口文档:https://docs.jiguang.cn/jpush/server/push/rest_api_v3_report#%E9%80%81%E8%BE%BE%E7%BB%9F%E8%AE%A1%E8%AF%A6%E6%83%85
	GetReceivedDetail(ctx context.Context, msgIDs []string) (*ReceivedDetailGetResult, error)

	// 送达状态查询(VIP)
	//  - 功能说明:查询已推送的一条消息在一组设备上的送达状态。
	//  - 调用地址:POST `/v3/status/message`
	//  - 接口文档:https://docs.jiguang.cn/jpush/server/push/rest_api_v3_report#%E9%80%81%E8%BE%BE%E7%8A%B6%E6%80%81%E6%9F%A5%E8%AF%A2%EF%BC%88vip%EF%BC%89
	GetMessageStatus(ctx context.Context, msgID string, registrationIDs []string, date *jiguang.LocalDate) (*MessageStatusGetResult, error)

	// 消息统计详情(VIP-新)
	//  - 功能说明:获取指定 msgIDs(最多支持 100 个)的消息统计数据。与 “送达统计详情” 不同的是,该 API 提供了更多的针对单个 msgID 的统计数据。
	//  - 调用地址:GET `/v3/messages/detail`
	//  - 接口文档:https://docs.jiguang.cn/jpush/server/push/rest_api_v3_report#%E6%B6%88%E6%81%AF%E7%BB%9F%E8%AE%A1%E8%AF%A6%E6%83%85%EF%BC%88vip-%E6%96%B0%EF%BC%89
	GetMessageDetail(ctx context.Context, msgIDs []string) (*MessageDetailGetResult, error)

	// 用户统计(VIP)
	//  - 功能说明:提供近 2 个月内某时间段的用户相关统计数据:新增用户、在线用户、活跃用户。
	//  `start` 起始时间,它的时间单位支持:HOUR(小时,格式例:2014-06-11 09)、DAY(天,格式例:2014-06-11)、MONTH(月,格式例:2014-06)。
	//  `duration` 持续时长,如果时间单位是天,则是持续的天数,以此类推;只支持查询 60 天以内的用户信息,对于时间单位为 HOUR 的,只支持输出当天的统计结果。
	//  - 调用地址:GET `/v3/users`
	//  - 接口文档:https://docs.jiguang.cn/jpush/server/push/rest_api_v3_report#%E7%94%A8%E6%88%B7%E7%BB%9F%E8%AE%A1%EF%BC%88vip%EF%BC%89
	GetUserDetail(ctx context.Context, start jiguang.UnitTime, duration int) (*UserDetailGetResult, error)
}

Report API v3【极光推送 > REST API > 统计 API】

type APIv3Builder

type APIv3Builder struct {
	// contains filtered or unexported fields
}

用于构建和配置 Report API v3 访问客户端的构建器。

func NewAPIv3Builder

func NewAPIv3Builder() *APIv3Builder

func (*APIv3Builder) Build

func (b *APIv3Builder) Build() (APIv3, error)

func (*APIv3Builder) DisableHttpLogging

func (b *APIv3Builder) DisableHttpLogging() *APIv3Builder

【可选】禁用 API 的 HTTP 日志记录,即不记录 API 的 HTTP 请求和响应的日志信息。

func (*APIv3Builder) SetAppKey

func (b *APIv3Builder) SetAppKey(appKey string) *APIv3Builder

【必填】设置 API 的应用标识。

func (*APIv3Builder) SetClient

func (b *APIv3Builder) SetClient(client api.Client) *APIv3Builder

【可选】设置 API 的客户端,用于发送 HTTP 请求,默认值为 api.DefaultClient。

func (*APIv3Builder) SetHost

func (b *APIv3Builder) SetHost(host string) *APIv3Builder

【可选】设置 API 的 Host 基础 URL,默认值为 api.HostJPushReportV3。

func (*APIv3Builder) SetHttpLogLevel

func (b *APIv3Builder) SetHttpLogLevel(httpLogLevel api.HttpLogLevel) *APIv3Builder

【可选】设置 API 的 HTTP 日志记录级别,用于指定记录 API 的 HTTP 请求和响应的日志信息的详细程度,默认值为 api.HttpLogLevelBasic。

  • 可用的级别:api.HttpLogLevelNone、api.HttpLogLevelBasic、api.HttpLogLevelHeaders、api.HttpLogLevelFull;
  • 若要禁用 HTTP 日志记录,可使用 DisableHttpLogging。

func (*APIv3Builder) SetLogger

func (b *APIv3Builder) SetLogger(logger jiguang.Logger) *APIv3Builder

【可选】设置 API 的日志记录器,默认值为 api.DefaultLogger。

func (*APIv3Builder) SetMasterSecret

func (b *APIv3Builder) SetMasterSecret(masterSecret string) *APIv3Builder

【必填】设置 API 的应用主密钥。

type AndroidStats

type AndroidStats struct {
	Jiguang *ChannelStats `json:"jg_android,omitempty"` // 极光通道统计指标
	Xiaomi  *ChannelStats `json:"xiaomi,omitempty"`     // 小米厂商通道统计指标
	Huawei  *ChannelStats `json:"huawei,omitempty"`     // 华为厂商通道统计指标
	Honor   *ChannelStats `json:"honor,omitempty"`      // 荣耀厂商通道统计指标
	Meizu   *ChannelStats `json:"meizu,omitempty"`      // 魅族厂商通道统计指标
	OPPO    *ChannelStats `json:"oppo,omitempty"`       // OPPO 厂商通道统计指标
	Vivo    *ChannelStats `json:"vivo,omitempty"`       // vivo 厂商通道统计指标
	ASUS    *ChannelStats `json:"asus,omitempty"`       // 华硕厂商通道统计指标
	FCM     *ChannelStats `json:"fcm,omitempty"`        // FCM 通道统计指标
	Tuibida *ChannelStats `json:"tuibida,omitempty"`    // 推必达通道统计指标
}

Android 平台的数据汇总统计

type ChannelStats

type ChannelStats struct {
	Target   *uint64 `json:"target,omitempty"`   // 有效目标,将推送任务所选定的目标人群,经过有效性筛选后的目标设备数量
	Sent     *uint64 `json:"sent,omitempty"`     // 发送数量,有效目标设备中,极光服务器实际成功创建了发送任务的设备数量
	Received *uint64 `json:"received,omitempty"` // 送达数量,通知消息发送后,实际送达至设备终端的数量,5 天之后的送达数量不被计算在内,华为、荣耀、魅族和 iOS 需要配置回调送达数据才更加精准
	Display  *uint64 `json:"display,omitempty"`  // 展示数量,通知消息送达后,实际在设备终端成功展示的数量,5 天之后的展示数量不被计算在内
	Click    *uint64 `json:"click,omitempty"`    // 点击数量,通知消息成功展示后,实际被用户点击的数量,5 天之后的点击数量不被计算在内
}

不同平台发送通道的数据汇总统计

type Details

type Details struct {
	Notification  *MessageStats      `json:"notification,omitempty"`  // 通知栏消息类型的数据汇总统计
	CustomMessage *MessageStats      `json:"message,omitempty"`       // 自定义消息的数据汇总统计
	InApp         *MessageStats      `json:"inapp,omitempty"`         // 应用内提醒消息的数据汇总统计
	LiveActivity  *LiveActivityStats `json:"live_activity,omitempty"` // 实时活动消息的数据汇总统计
}

消息统计详情指标定义(2021.09.01 新体系指标)

type HmosStats

type HmosStats struct {
	Hmpns *ChannelStats `json:"hmpns,omitempty"` // HMPNs 发送通道统计指标
}

鸿蒙平台的数据汇总统计

type IosStats

type IosStats struct {
	Jiguang *ChannelStats `json:"jg_ios,omitempty"` // 极光通道统计指标
	VoIP    *ChannelStats `json:"voip,omitempty"`   // VoIP 通道统计指标
	APNs    *ChannelStats `json:"apns,omitempty"`   // APNs 通道统计指标
}

iOS 平台的数据汇总统计

type LegacyAndroidPns

type LegacyAndroidPns struct {
	PnsTarget   *uint64 `json:"pns_target,omitempty"`   // 通过厂商通道推送目标数
	PnsSent     *uint64 `json:"pns_sent,omitempty"`     // 推送到厂商通道成功数
	PnsReceived *uint64 `json:"pns_received,omitempty"` // 厂商推送送达设备数,2020.03.24 新增指标
	PnsDisplay  *uint64 `json:"pns_display,omitempty"`  // 厂商推送展示数,2021.08.17 新增指标

	XiaomiDetail *LegacyChannelStats `json:"xm_detail,omitempty"`    // 推送到小米通道详情
	HuaweiDetail *LegacyChannelStats `json:"hw_detail,omitempty"`    // 推送到华为通道详情
	HonorDetail  *LegacyChannelStats `json:"honor_detail,omitempty"` // 推送到荣耀通道详情,2022.06.20 新增
	MeizuDetail  *LegacyChannelStats `json:"mz_detail,omitempty"`    // 推送到魅族通道详情
	OppoDetail   *LegacyChannelStats `json:"oppo_detail,omitempty"`  // 推送到 OPPO 通道详情
	VivoDetail   *LegacyChannelStats `json:"vivo_detail,omitempty"`  // 推送到 vivo 通道详情
	AsusDetail   *LegacyChannelStats `json:"asus_detail,omitempty"`  // 推送到华硕通道详情
	FcmDetail    *LegacyChannelStats `json:"fcm_detail,omitempty"`   // 推送到 FCM 通道详情
}

LegacyAndroidPns Android 厂商通道统计数据(2021.09.01 前旧体系指标)

type LegacyChannelStats

type LegacyChannelStats struct {
	Target   *uint64 `json:"target,omitempty"`   // 推送目标数
	Sent     *uint64 `json:"sent,omitempty"`     // 推送成功数
	Received *uint64 `json:"received,omitempty"` // 送达设备数,2020.03.24 新增指标
	Display  *uint64 `json:"display,omitempty"`  // 推送展示数,2021.08.17 新增指标
}

LegacyChannelStats 推送到厂商通道详情(2021.09.01 前旧体系指标)

type LegacyIos

type LegacyIos struct {
	ApnsTarget   *uint64 `json:"apns_target,omitempty"`   // APNs 通知推送目标数
	ApnsSent     *uint64 `json:"apns_sent,omitempty"`     // APNs 通知推送成功数,发送到 APNs 服务器成功
	ApnsReceived *uint64 `json:"apns_received,omitempty"` // APNs 通知送达展示数,APNs 服务器下发到设备并成功展示,统计该项请参考【集成指南高级功能-通知展示统计】:https://docs.jiguang.cn/jpush/client/iOS/ios_guide_new#%E9%80%9A%E7%9F%A5%E5%B1%95%E7%A4%BA%E7%BB%9F%E8%AE%A1
	ApnsClick    *uint64 `json:"apns_click,omitempty"`    // APNs 通知用户点击数
	ApnsDisplay  *uint64 `json:"apns_display,omitempty"`  // APNs 通知展示数,2021.08.17 新增指标
	MsgTarget    *uint64 `json:"msg_target,omitempty"`    // 自定义消息推送目标数
	MsgReceived  *uint64 `json:"msg_received,omitempty"`  // 自定义消息推送送达数
	MsgClick     *uint64 `json:"msg_click,omitempty"`     // 自定义消息用户点击数,iOS 由于其特殊性,自定义消息无点击指标统计,但会有此字段返回
	MsgDisplay   *uint64 `json:"msg_display,omitempty"`   // 自定义消息展示数,2021.08.17 新增指标
}

LegacyIos iOS 平台统计数据(2021.09.01 前旧体系指标)

type LegacyJPush

type LegacyJPush struct {
	Target     *uint64 `json:"target,omitempty"`      // 有效目标
	OnlinePush *uint64 `json:"online_push,omitempty"` // 在线推送数,该字段 2021.09.01 失效
	Sent       *uint64 `json:"sent,omitempty"`        // 发送数量
	Received   *uint64 `json:"received,omitempty"`    // 送达数量
	Display    *uint64 `json:"display,omitempty"`     // 展示数量,2021.08.17 新增指标
	Click      *uint64 `json:"click,omitempty"`       // 通知栏消息点击数量
	MsgClick   *uint64 `json:"msg_click,omitempty"`   // 自定义消息点击数量
}

LegacyJPush 极光通道统计数据(2021.09.01 前旧体系指标)

type LegacyQuickAppJPush

type LegacyQuickAppJPush struct {
	Target     *uint64 `json:"target,omitempty"`      // 推送目标数
	OnlinePush *uint64 `json:"online_push,omitempty"` // 在线推送数,该字段 2021.09.01 失效
	Received   *uint64 `json:"received,omitempty"`    // 推送送达数
	Click      *uint64 `json:"click,omitempty"`       // 用户点击数
	MsgClick   *uint64 `json:"msg_click,omitempty"`   // 自定义消息点击数
}

LegacyQuickAppJPush 快应用平台极光通道统计数据(2021.09.01 前旧体系指标)

type LegacyQuickAppPns

type LegacyQuickAppPns struct {
	PnsTarget *uint64 `json:"pns_target,omitempty"` // 推送目标数
	PnsSent   *uint64 `json:"pns_sent,omitempty"`   // 推送成功数
}

LegacyQuickAppPns 快应用平台 Android 厂商通道统计数据(2021.09.01 前旧体系指标)

type LiveActivityStats

type LiveActivityStats struct {
	Target   *uint64 `json:"target,omitempty"`   // 有效目标汇总,将推送任务所选定的目标人群,经过有效性筛选后的目标设备数量
	Sent     *uint64 `json:"sent,omitempty"`     // 发送数量汇总,有效目标设备中,极光服务器实际成功创建了发送任务的设备数量
	Received *uint64 `json:"received,omitempty"` // 送达数量汇总,通知消息发送后,实际送达至设备终端的数量,5 天之后的送达数量不被计算在内,华为、荣耀、魅族和 iOS 需要配置回调送达数据才更加精准
	Display  *uint64 `json:"display,omitempty"`  // 展示数量汇总,通知消息送达后,实际在设备终端成功展示的数量,5 天之后的展示数量不被计算在内
	Click    *uint64 `json:"click,omitempty"`    // 点击数量汇总,通知消息成功展示后,实际被用户点击的数量,5 天之后的点击数量不被计算在内

	SubIos *ChannelStats `json:"sub_ios,omitempty"` // iOS 平台统计指标
}

实时活动消息生命周期状态定义(2022.12.22 实时活动指标)

type MessageDetail

type MessageDetail struct {
	MsgID   string   `json:"msg_id"`            // 推送消息 ID
	Details *Details `json:"details,omitempty"` // 消息统计详情指标,同一条消息可能包含通知栏消息、自定义消息和应用提醒消息等不同类型

	JPush         *LegacyJPush         `json:"jpush,omitempty"`          // 极光通道统计数据,走极光通道下发的普通 Android 用户通知/自定义消息以及 iOS 用户自定义消息总体情况
	AndroidPns    *LegacyAndroidPns    `json:"android_pns,omitempty"`    // Android 厂商通道统计数据,走厂商通道下发统计数据
	IOS           *LegacyIos           `json:"ios,omitempty"`            // iOS 平台统计数据
	QuickAppJPush *LegacyQuickAppJPush `json:"quickapp_jpush,omitempty"` // 快应用平台极光通道统计数据
	QuickAppPns   *LegacyQuickAppPns   `json:"quickapp_pns,omitempty"`   // 快应用平台 Android 厂商通道统计数据
}

消息统计详情

type MessageDetailGetResult

type MessageDetailGetResult struct {
	*api.Response  `json:"-"`
	Error          *api.CodeError  `json:"error,omitempty"`
	MessageDetails []MessageDetail `json:"-"`
}

func (*MessageDetailGetResult) IsSuccess

func (rs *MessageDetailGetResult) IsSuccess() bool

func (MessageDetailGetResult) MarshalJSON

func (rs MessageDetailGetResult) MarshalJSON() ([]byte, error)

func (*MessageDetailGetResult) UnmarshalJSON

func (rs *MessageDetailGetResult) UnmarshalJSON(data []byte) error

type MessageStats

type MessageStats struct {
	Target   *uint64 `json:"target,omitempty"`   // 有效目标,将推送任务所选定的目标人群,经过有效性筛选后的目标设备数量
	Sent     *uint64 `json:"sent,omitempty"`     // 发送数量,有效目标设备中,极光服务器实际成功创建了发送任务的设备数量
	Received *uint64 `json:"received,omitempty"` // 送达数量,通知消息发送后,实际送达至设备终端的数量,5 天之后的送达数量不被计算在内,华为、荣耀、魅族和 iOS 需要配置回调送达数据才更加精准
	Display  *uint64 `json:"display,omitempty"`  // 展示数量,通知消息送达后,实际在设备终端成功展示的数量,5 天之后的展示数量不被计算在内
	Click    *uint64 `json:"click,omitempty"`    // 点击数量,通知消息成功展示后,实际被用户点击的数量,5 天之后的点击数量不被计算在内

	SubAndroid  *AndroidStats  `json:"sub_android,omitempty"`  // Android 平台的数据汇总统计
	SubIos      *IosStats      `json:"sub_ios,omitempty"`      // iOS 平台的数据汇总统计
	SubQuickApp *QuickAppStats `json:"sub_quickapp,omitempty"` // 快应用平台的数据汇总统计
	SubHmos     *HmosStats     `json:"sub_hmos,omitempty"`     // 鸿蒙平台的数据汇总统计,2024.08.13 新增
}

消息生命周期状态定义(2021.09.01 新体系指标)

type MessageStatus

type MessageStatus int

消息推送送达状态。

const (
	MessageStatusReceived       MessageStatus = iota // 送达
	MessageStatusNotReceived                         // 未送达
	MessageStatusInvalidRegID                        // 设备标识 Registration ID 不属于该应用
	MessageStatusRegIDNotTarget                      // 设备标识 Registration ID 属于该应用,但不是该条消息的推送目标
	MessageStatusSystemError                         // 系统异常
)

func (MessageStatus) String

func (s MessageStatus) String() string

type MessageStatusGetResult

type MessageStatusGetResult struct {
	*api.Response `json:"-"`
	Error         *api.CodeError           `json:"error,omitempty"`
	Status        map[string]MessageStatus `json:"-"` // key 为 Registration ID
}

func (*MessageStatusGetResult) IsSuccess

func (rs *MessageStatusGetResult) IsSuccess() bool

func (MessageStatusGetResult) MarshalJSON

func (rs MessageStatusGetResult) MarshalJSON() ([]byte, error)

func (*MessageStatusGetResult) UnmarshalJSON

func (rs *MessageStatusGetResult) UnmarshalJSON(data []byte) error

type QuickAppStats

type QuickAppStats struct {
	Jiguang *ChannelStats `json:"quick_jg,omitempty"`     // 极光通道统计指标
	Xiaomi  *ChannelStats `json:"quick_xiaomi,omitempty"` // 小米厂商通道统计指标
	Huawei  *ChannelStats `json:"quick_huawei,omitempty"` // 华为厂商通道统计指标
	OPPO    *ChannelStats `json:"quick_oppo,omitempty"`   // OPPO 厂商通道统计指标
}

快应用平台的数据汇总统计

type ReceivedDetail

type ReceivedDetail struct {
	MsgID                 string  `json:"msg_id"`                  // 推送消息 ID
	JPushReceived         *uint64 `json:"jpush_received"`          // 极光通道用户送达数;包含普通 Android 用户的通知 + 自定义消息送达,iOS 用户自定义消息送达;如果无此项数据则为 null。
	AndroidPnsSent        *uint64 `json:"android_pns_sent"`        // Android 厂商用户推送到厂商服务器成功数,计算方式同 Android 厂商成功数;如果无此项数据则为 null。
	AndroidPnsReceived    *uint64 `json:"android_pns_received"`    // Android 厂商用户推送达到设备数,计算方式以厂商回调数据为准;如果无此项数据则为 null。2020.03.24 新增指标。
	IOSApnsSent           *uint64 `json:"ios_apns_sent"`           // iOS 通知推送到 APNs 成功数量。如果无此项数据则为 null。
	IOSApnsReceived       *uint64 `json:"ios_apns_received"`       // iOS 通知送达到设备并成功展示。如果无项数据则为 null。统计该项请参考【集成指南高级功能-通知展示统计】:https://docs.jiguang.cn/jpush/client/iOS/ios_guide_new#%E9%80%9A%E7%9F%A5%E5%B1%95%E7%A4%BA%E7%BB%9F%E8%AE%A1
	IOSMsgReceived        *uint64 `json:"ios_msg_received"`        // iOS 自定义消息送达数。如果无此项数据则为 null。
	LiveActivitySent      *uint64 `json:"live_acivity_sent"`       // 实时活动消息推送到 APNs 成功的用户数量。
	LiveActivityReceived  *uint64 `json:"live_acivity_received"`   // 实时活动消息送达成功的用户数量。
	WpMpnsSent            *uint64 `json:"wp_mpns_sent"`            // Windows Phone 通知推送到 MPNS 成功数量。如果无此项数据则为 null。
	QuickAppPnsSent       *uint64 `json:"quickapp_pns_sent"`       // 快应用推送走厂商通道请求成功的用户数量。
	QuickAppJPushReceived *uint64 `json:"quickapp_jpush_received"` // 快应用推送走极光通道送达设备成功的用户数量。
	HmosHmpnsSent         *uint64 `json:"hmos_hmpns_sent"`         // 鸿蒙通知推送到厂商服务器成功数。2024.08.13 新增指标。
	HmosHmpnsReceived     *uint64 `json:"hmos_hmpns_received"`     // 鸿蒙通知送达到设备数,计算方式以厂商回调数据为准。2024.08.13 新增指标。
	HmosMsgReceived       *uint64 `json:"hmos_msg_received"`       // 鸿蒙自定义消息送达到设备数,计算方式以厂商回调数据为准。2024.08.13 新增指标。
}

type ReceivedDetailGetResult

type ReceivedDetailGetResult struct {
	*api.Response   `json:"-"`
	Error           *api.CodeError   `json:"error,omitempty"`
	ReceivedDetails []ReceivedDetail `json:"-"`
}

func (*ReceivedDetailGetResult) IsSuccess

func (rs *ReceivedDetailGetResult) IsSuccess() bool

func (ReceivedDetailGetResult) MarshalJSON

func (rs ReceivedDetailGetResult) MarshalJSON() ([]byte, error)

func (*ReceivedDetailGetResult) UnmarshalJSON

func (rs *ReceivedDetailGetResult) UnmarshalJSON(data []byte) error

type UserDetailGetResult

type UserDetailGetResult struct {
	*api.Response `json:"-"`
	Error         *api.CodeError   `json:"error,omitempty"`
	Start         jiguang.UnitTime `json:"start,omitempty"`    // 请求时的起始时间
	Duration      int              `json:"duration,omitempty"` // 请求时的持续时长
	Items         []UserStatsItem  `json:"items,omitempty"`    // 获取到的统计数据项
}

func (*UserDetailGetResult) IsSuccess

func (rs *UserDetailGetResult) IsSuccess() bool

func (UserDetailGetResult) MarshalJSON

func (rs UserDetailGetResult) MarshalJSON() ([]byte, error)

func (*UserDetailGetResult) UnmarshalJSON

func (rs *UserDetailGetResult) UnmarshalJSON(data []byte) error

type UserStatsItem

type UserStatsItem struct {
	Time     jiguang.UnitTime     `json:"time"`               // 统计时间
	Android  *UserStatsItemDetail `json:"android,omitempty"`  // Android 平台用户统计详情
	IOS      *UserStatsItemDetail `json:"ios,omitempty"`      // iOS 平台用户统计详情
	QuickApp *UserStatsItemDetail `json:"quickapp,omitempty"` // 快应用平台用户统计详情
	HMOS     *UserStatsItemDetail `json:"hmos,omitempty"`     // 鸿蒙平台用户统计详情
}

用户在不同平台的统计数据项

type UserStatsItemDetail

type UserStatsItemDetail struct {
	New    *uint64 `json:"new,omitempty"`    // 新增用户
	Online *uint64 `json:"online,omitempty"` // 在线用户
	Active *uint64 `json:"active,omitempty"` // 活跃用户
}

指定平台的用户统计详情

Jump to

Keyboard shortcuts

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