2024-01-02 14:04:16 +00:00
|
|
|
package adminkindboxreqhandler
|
|
|
|
|
|
|
|
import (
|
2024-02-24 17:06:13 +00:00
|
|
|
adminauthorizationservice "git.gocasts.ir/ebhomengo/niki/service/admin/authorization"
|
2024-01-02 14:04:16 +00:00
|
|
|
adminkindboxreqservice "git.gocasts.ir/ebhomengo/niki/service/admin/kind_box_req"
|
2024-01-25 11:43:39 +00:00
|
|
|
authservice "git.gocasts.ir/ebhomengo/niki/service/auth"
|
2024-07-27 16:17:13 +00:00
|
|
|
"git.gocasts.ir/ebhomengo/niki/service/notification"
|
2024-01-02 14:04:16 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Handler struct {
|
|
|
|
authSvc authservice.Service
|
|
|
|
adminKindBoxReqSvc adminkindboxreqservice.Service
|
2024-02-24 17:06:13 +00:00
|
|
|
adminAuthorizeSvc adminauthorizationservice.Service
|
2024-07-27 16:17:13 +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,
|
|
|
|
adminKindBoxReqSvc adminkindboxreqservice.Service,
|
2024-07-27 16:17:13 +00:00
|
|
|
adminAuthorizeSvc adminauthorizationservice.Service, notificationSvc notification.Service,
|
2024-01-02 14:04:16 +00:00
|
|
|
) Handler {
|
|
|
|
return Handler{
|
|
|
|
authSvc: authSvc,
|
|
|
|
adminKindBoxReqSvc: adminKindBoxReqSvc,
|
2024-02-24 17:06:13 +00:00
|
|
|
adminAuthorizeSvc: adminAuthorizeSvc,
|
2024-07-27 16:17:13 +00:00
|
|
|
notificationSvc: notificationSvc,
|
2024-01-02 14:04:16 +00:00
|
|
|
}
|
|
|
|
}
|