Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PointsTaskService ¶
type PointsTaskService interface { Update(user types.Account, promotionid string, taskid string, point int) error Find(user types.Account, promotionid string) (domain.UserPoints, error) GetAllUserPoints(promotionid string) ([]domain.UserPoints, error) }
func NewPointsTaskService ¶
func NewPointsTaskService( pointsRepo repository.Points, taskRepo repository.Task, ) (PointsTaskService, error)
type PromotionUserService ¶
type PromotionUserService interface {
Register(promotionid string, origin domain.Origin, ur *domain.UserRegistration) error
}
func NewPromotionUserService ¶
func NewPromotionUserService( user user.User, repo repository.Promotion, ) PromotionUserService
Click to show internal directories.
Click to hide internal directories.