2024-01-02 14:04:16 +00:00
|
|
|
package adminkindboxhandler
|
|
|
|
|
|
|
|
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
|
|
|
adminkindboxservice "git.gocasts.ir/ebhomengo/niki/service/admin/kind_box"
|
2024-01-25 11:43:39 +00:00
|
|
|
authservice "git.gocasts.ir/ebhomengo/niki/service/auth"
|
2024-08-06 21:41:09 +00:00
|
|
|
"git.gocasts.ir/ebhomengo/niki/service/notification"
|
2024-01-02 14:04:16 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Handler struct {
|
2024-02-24 17:06:13 +00:00
|
|
|
authSvc authservice.Service
|
|
|
|
adminKindBoxSvc adminkindboxservice.Service
|
|
|
|
adminAuthorizeSvc adminauthorizationservice.Service
|
2024-08-06 21:41:09 +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,
|
|
|
|
adminKindBoxSvc adminkindboxservice.Service,
|
2024-02-24 17:06:13 +00:00
|
|
|
adminAuthorizeSvc adminauthorizationservice.Service,
|
2024-08-06 21:41:09 +00:00
|
|
|
notificationSvc notification.Service,
|
2024-01-02 14:04:16 +00:00
|
|
|
) Handler {
|
|
|
|
return Handler{
|
2024-02-24 17:06:13 +00:00
|
|
|
authSvc: authSvc,
|
|
|
|
adminKindBoxSvc: adminKindBoxSvc,
|
|
|
|
adminAuthorizeSvc: adminAuthorizeSvc,
|
2024-08-06 21:41:09 +00:00
|
|
|
notificationSvc: notificationSvc,
|
2024-01-02 14:04:16 +00:00
|
|
|
}
|
|
|
|
}
|