2024-01-02 14:04:16 +00:00
|
|
|
package benefactorkindboxreqhandler
|
|
|
|
|
|
|
|
import (
|
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
|
|
|
benefactorkindboxreqservice "git.gocasts.ir/ebhomengo/niki/service/benefactor/kind_box_req"
|
|
|
|
benefactorkindboxreqvalidator "git.gocasts.ir/ebhomengo/niki/validator/benefactor/kind_box_req"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Handler struct {
|
|
|
|
authConfig authservice.Config
|
|
|
|
authSvc authservice.Service
|
|
|
|
benefactorKindBoxReqSvc benefactorkindboxreqservice.Service
|
|
|
|
benefactorKindBoxReqVld benefactorkindboxreqvalidator.Validator
|
|
|
|
}
|
|
|
|
|
|
|
|
func New(authConfig authservice.Config, authSvc authservice.Service,
|
2024-01-02 15:35:26 +00:00
|
|
|
benefactorKindBoxReqSvc benefactorkindboxreqservice.Service, benefactorKindBoxReqVld benefactorkindboxreqvalidator.Validator,
|
2024-01-02 14:04:16 +00:00
|
|
|
) Handler {
|
|
|
|
return Handler{
|
|
|
|
authConfig: authConfig,
|
|
|
|
authSvc: authSvc,
|
|
|
|
benefactorKindBoxReqSvc: benefactorKindBoxReqSvc,
|
|
|
|
benefactorKindBoxReqVld: benefactorKindBoxReqVld,
|
|
|
|
}
|
|
|
|
}
|