2024-09-15 07:36:09 +00:00
|
|
|
package agentkindboxreqhandler
|
|
|
|
|
|
|
|
import (
|
|
|
|
adminauthorizationservice "git.gocasts.ir/ebhomengo/niki/service/admin/authorization"
|
|
|
|
agentkindboxreqservice "git.gocasts.ir/ebhomengo/niki/service/agent/kind_box_req"
|
|
|
|
authservice "git.gocasts.ir/ebhomengo/niki/service/auth"
|
2024-09-16 14:56:05 +00:00
|
|
|
"git.gocasts.ir/ebhomengo/niki/service/notification"
|
2024-09-15 07:36:09 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Handler struct {
|
|
|
|
authSvc authservice.Service
|
|
|
|
agentKindBoxReqSvc agentkindboxreqservice.Service
|
|
|
|
adminAuthorizeSvc adminauthorizationservice.Service
|
2024-09-16 14:56:05 +00:00
|
|
|
notificationSvc notification.Service
|
2024-09-15 07:36:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func New(authSvc authservice.Service,
|
|
|
|
agentKindBoxReqSvc agentkindboxreqservice.Service,
|
|
|
|
adminAuthorizeSvc adminauthorizationservice.Service,
|
2024-09-16 14:56:05 +00:00
|
|
|
notificationSvc notification.Service,
|
2024-09-15 07:36:09 +00:00
|
|
|
) Handler {
|
|
|
|
return Handler{
|
|
|
|
authSvc: authSvc,
|
|
|
|
agentKindBoxReqSvc: agentKindBoxReqSvc,
|
|
|
|
adminAuthorizeSvc: adminAuthorizeSvc,
|
2024-09-16 14:56:05 +00:00
|
|
|
notificationSvc: notificationSvc,
|
2024-09-15 07:36:09 +00:00
|
|
|
}
|
|
|
|
}
|