Documentation
¶
Index ¶
- func NewTaskAppService(s service.TaskService, repo repository.Task) *taskAppService
- func NewUserPointsAppMessageService(tr repository.Task, repo repository.UserPoints) *userPointsAppMessageService
- func NewUserPointsAppService(tr repository.Task, repo repository.UserPoints) *userPointsAppService
- type CmdToAddPointsItem
- type PointsDetailDTO
- type TaskAppService
- type TaskCompletionInfoDTO
- type TaskDocDTO
- type TasksCompletionInfoDTO
- type UserPointsAppMessageService
- type UserPointsAppService
- type UserPointsDetailsDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTaskAppService ¶
func NewTaskAppService( s service.TaskService, repo repository.Task, ) *taskAppService
func NewUserPointsAppMessageService ¶
func NewUserPointsAppMessageService( tr repository.Task, repo repository.UserPoints, ) *userPointsAppMessageService
func NewUserPointsAppService ¶
func NewUserPointsAppService( tr repository.Task, repo repository.UserPoints, ) *userPointsAppService
Types ¶
type CmdToAddPointsItem ¶
type PointsDetailDTO ¶
type PointsDetailDTO struct {
Task string `json:"task"`
domain.PointsDetail
}
type TaskAppService ¶
type TaskCompletionInfoDTO ¶
type TaskDocDTO ¶
type TaskDocDTO struct {
Content string `json:"content"`
}
type TasksCompletionInfoDTO ¶
type TasksCompletionInfoDTO struct {
Kind string `json:"kind"`
Tasks []TaskCompletionInfoDTO `json:"tasks"`
}
TasksCompletionInfoDTO
type UserPointsAppMessageService ¶
type UserPointsAppMessageService interface {
AddPointsItem(cmd *CmdToAddPointsItem) error
}
type UserPointsAppService ¶
type UserPointsDetailsDTO ¶
type UserPointsDetailsDTO struct {
Total int `json:"total"`
Details []PointsDetailDTO `json:"details"`
}
Click to show internal directories.
Click to hide internal directories.