2024-07-13 12:33:07 +00:00
|
|
|
package agentkindboxhandler
|
|
|
|
|
|
|
|
import (
|
|
|
|
adminauthorizationservice "git.gocasts.ir/ebhomengo/niki/service/admin/authorization"
|
|
|
|
agentkindboxservice "git.gocasts.ir/ebhomengo/niki/service/agent/kind_box"
|
|
|
|
authservice "git.gocasts.ir/ebhomengo/niki/service/auth"
|
2024-09-16 14:56:05 +00:00
|
|
|
"git.gocasts.ir/ebhomengo/niki/service/notification"
|
2024-07-13 12:33:07 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Handler struct {
|
|
|
|
authSvc authservice.Service
|
|
|
|
agentKindBoxSvc agentkindboxservice.Service
|
|
|
|
adminAuthorizeSvc adminauthorizationservice.Service
|
2024-09-16 14:56:05 +00:00
|
|
|
notificationSvc notification.Service
|
2024-07-13 12:33:07 +00:00
|
|
|
}
|
|
|
|
|
2024-08-01 10:20:18 +00:00
|
|
|
func New(authSvc authservice.Service,
|
|
|
|
agentKindBoxSvc agentkindboxservice.Service,
|
2024-07-13 12:33:07 +00:00
|
|
|
adminAuthorizeSvc adminauthorizationservice.Service,
|
2024-09-16 14:56:05 +00:00
|
|
|
notificationSvc notification.Service,
|
2024-07-13 12:33:07 +00:00
|
|
|
) Handler {
|
|
|
|
return Handler{
|
|
|
|
authSvc: authSvc,
|
|
|
|
agentKindBoxSvc: agentKindBoxSvc,
|
|
|
|
adminAuthorizeSvc: adminAuthorizeSvc,
|
2024-09-16 14:56:05 +00:00
|
|
|
notificationSvc: notificationSvc,
|
2024-07-13 12:33:07 +00:00
|
|
|
}
|
|
|
|
}
|