2024-01-02 14:04:16 +00:00
|
|
|
package adminkindboxreqhandler
|
|
|
|
|
|
|
|
import (
|
|
|
|
adminkindboxreqservice "git.gocasts.ir/ebhomengo/niki/service/admin/kind_box_req"
|
2024-01-11 07:13:37 +00:00
|
|
|
authservice "git.gocasts.ir/ebhomengo/niki/service/auth/user"
|
2024-01-02 14:04:16 +00:00
|
|
|
adminkindboxreqvalidator "git.gocasts.ir/ebhomengo/niki/validator/admin/kind_box_req"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Handler struct {
|
|
|
|
authConfig authservice.Config
|
|
|
|
authSvc authservice.Service
|
|
|
|
adminKindBoxReqSvc adminkindboxreqservice.Service
|
|
|
|
adminKindBoxReqVld adminkindboxreqvalidator.Validator
|
|
|
|
}
|
|
|
|
|
|
|
|
func New(authConfig authservice.Config, authSvc authservice.Service,
|
2024-01-02 15:35:26 +00:00
|
|
|
adminKindBoxReqSvc adminkindboxreqservice.Service, adminKindBoxReqVld adminkindboxreqvalidator.Validator,
|
2024-01-02 14:04:16 +00:00
|
|
|
) Handler {
|
|
|
|
return Handler{
|
|
|
|
authConfig: authConfig,
|
|
|
|
authSvc: authSvc,
|
|
|
|
adminKindBoxReqSvc: adminKindBoxReqSvc,
|
|
|
|
adminKindBoxReqVld: adminKindBoxReqVld,
|
|
|
|
}
|
|
|
|
}
|