usecase

package
v0.0.0-...-c20d9b3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDashboardUsecase

func NewDashboardUsecase(repo domain.DashboardRepo) domain.DashboardUsecase

Types

type DashboardUsecase

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

func (*DashboardUsecase) CategoryStat

func (*DashboardUsecase) Statistics

func (u *DashboardUsecase) Statistics(ctx context.Context) (*domain.Statistics, error)

func (*DashboardUsecase) TimeStat

func (*DashboardUsecase) UserCodeRank

func (*DashboardUsecase) UserEvents

func (*DashboardUsecase) UserHeatmap

func (u *DashboardUsecase) UserHeatmap(ctx context.Context, userID string) (*domain.UserHeatmapResp, error)

func (*DashboardUsecase) UserStat

Jump to

Keyboard shortcuts

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