Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllDashboardData ¶
GetAllDashboardData get all data for dashboard
func GetAllStats ¶
GetAllStats @Tags Dashboard @Param days query int false "request query" @Produce json @Success 200 {object} DashboardDataResponse @Router /api/v1/dashboard/stats/all [get]
Types ¶
type DashboardData ¶
type DashboardData struct {
UserGrowth string `json:"userGrowth"`
ActivityData string `json:"activityData"`
ProjectTags string `json:"projectTags"`
DistributeModes string `json:"distributeModes"`
HotProjects string `json:"hotProjects"`
ActiveCreators string `json:"activeCreators"`
ActiveReceivers string `json:"activeReceivers"`
//ApplyStatus ApplyStatus `json:"applyStatus"`
Summary string `json:"summary"`
}
DashboardData 仪表板数据结构
type DashboardDataResponse ¶
type DashboardDataResponse struct {
ErrorMsg string `json:"error_msg"`
Data interface{} `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.