Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardService ¶
type DashboardService interface {
Statistical(ctx context.Context) (resp *schema.DashboardInfo, err error)
}
func NewDashboardService ¶
func NewDashboardService( questionRepo questioncommon.QuestionRepo, answerRepo answercommon.AnswerRepo, commentRepo comment_common.CommentCommonRepo, voteRepo activity_common.VoteRepo, userRepo usercommon.UserRepo, reportRepo report_common.ReportRepo, configService *config.ConfigService, siteInfoService siteinfo_common.SiteInfoCommonService, serviceConfig *service_config.ServiceConfig, data *data.Data, ) DashboardService
Click to show internal directories.
Click to hide internal directories.