2024-01-02 14:04:16 +00:00
|
|
|
package benefactorkindboxreqhandler
|
|
|
|
|
|
|
|
import (
|
2024-01-25 11:43:39 +00:00
|
|
|
authservice "git.gocasts.ir/ebhomengo/niki/service/auth"
|
2024-01-02 14:04:16 +00:00
|
|
|
benefactorkindboxreqservice "git.gocasts.ir/ebhomengo/niki/service/benefactor/kind_box_req"
|
2024-08-16 17:37:37 +00:00
|
|
|
"git.gocasts.ir/ebhomengo/niki/service/notification"
|
2024-01-02 14:04:16 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Handler struct {
|
|
|
|
authSvc authservice.Service
|
|
|
|
benefactorKindBoxReqSvc benefactorkindboxreqservice.Service
|
2024-08-16 17:37:37 +00:00
|
|
|
notificationSvc notification.Service
|
2024-01-02 14:04:16 +00:00
|
|
|
}
|
|
|
|
|
2024-08-01 10:20:18 +00:00
|
|
|
func New(authSvc authservice.Service,
|
|
|
|
benefactorKindBoxReqSvc benefactorkindboxreqservice.Service,
|
2024-08-16 17:37:37 +00:00
|
|
|
notificationSvc notification.Service,
|
2024-01-02 14:04:16 +00:00
|
|
|
) Handler {
|
|
|
|
return Handler{
|
|
|
|
authSvc: authSvc,
|
|
|
|
benefactorKindBoxReqSvc: benefactorKindBoxReqSvc,
|
2024-08-16 17:37:37 +00:00
|
|
|
notificationSvc: notificationSvc,
|
2024-01-02 14:04:16 +00:00
|
|
|
}
|
|
|
|
}
|