Documentation
¶
Overview ¶
Code generated by goctl. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseResponse ¶
type ChannelResponse ¶
type ChannelResponse struct {
Channel string `json:"channel" desc:"渠道名"`
Items []*KeeperStruct `json:"items" desc:"结果集合"`
}
type KeeperStruct ¶
type MulitChannelsRequest ¶
type MulitChannelsRequest struct {
Date string `form:"date,optional" desc:"查询日期"`
Type int `form:"type,default=0" desc:"留存类型(0:日期为截止日,1:日期为开始日)"`
Days []int `form:"days," desc:"留存天集合"`
Channels []string `form:"channels" desc:"渠道名"`
Role string `form:"role,optional" desc:"身份类型"`
DataSource string `form:"data_source,optional" desc:"数据源"`
}
type MulitChannelsResponse ¶
type MulitChannelsResponse struct {
BaseResponse
Data []*ChannelResponse `json:"data" desc:"结果集合"`
}
type MulitRequest ¶
type MulitRequest struct {
Date string `form:"date,optional" desc:"查询日期"`
Type int `form:"type,default=0" desc:"留存类型(0:日期为截止日,1:日期为开始日)"`
Days []int `form:"days," desc:"留存天集合"`
Channel string `form:"channel,optional" desc:"渠道名"`
Role string `form:"role,optional" desc:"身份类型"`
DataSource string `form:"data_source,optional" desc:"数据源"`
}
type MulitResponse ¶
type MulitResponse struct {
BaseResponse
Data []*KeeperStruct `json:"data" desc:"结果集合"`
}
type SingleRequest ¶
type SingleRequest struct {
Date string `form:"date,optional" desc:"查询日期"`
Type int `form:"type,default=0" desc:"留存类型(0:日期为截止日,1:日期为开始日)"`
Day int `form:"day,range=[1:366]" desc:"第几日留存"`
Channel string `form:"channel,optional" desc:"渠道名"`
Role string `form:"role,optional" desc:"身份类型"`
DataSource string `form:"data_source,optional" desc:"数据源"`
}
type SingleResponse ¶
type SingleResponse struct {
BaseResponse
Data *KeeperStruct `json:"data" desc:"结果数据"`
}
Click to show internal directories.
Click to hide internal directories.