forked from ebhomengo/niki
26 lines
943 B
Go
26 lines
943 B
Go
|
package benefactorkindboxreqhandler
|
||
|
|
||
|
import (
|
||
|
authservice "git.gocasts.ir/ebhomengo/niki/service/auth"
|
||
|
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,
|
||
|
benefactorKindBoxReqSvc benefactorkindboxreqservice.Service, benefactorKindBoxReqVld benefactorkindboxvalidator.Validator,
|
||
|
) Handler {
|
||
|
return Handler{
|
||
|
authConfig: authConfig,
|
||
|
authSvc: authSvc,
|
||
|
benefactorKindBoxReqSvc: benefactorKindBoxReqSvc,
|
||
|
benefactorKindBoxReqVld: benefactorKindBoxReqVld,
|
||
|
}
|
||
|
}
|