forked from ebhomengo/niki
26 lines
838 B
Go
26 lines
838 B
Go
|
package adminkindboxreqhandler
|
||
|
|
||
|
import (
|
||
|
adminkindboxreqservice "git.gocasts.ir/ebhomengo/niki/service/admin/kind_box_req"
|
||
|
authservice "git.gocasts.ir/ebhomengo/niki/service/auth"
|
||
|
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,
|
||
|
adminKindBoxReqSvc adminkindboxreqservice.Service, adminKindBoxReqVld adminkindboxvalidator.Validator,
|
||
|
) Handler {
|
||
|
return Handler{
|
||
|
authConfig: authConfig,
|
||
|
authSvc: authSvc,
|
||
|
adminKindBoxReqSvc: adminKindBoxReqSvc,
|
||
|
adminKindBoxReqVld: adminKindBoxReqVld,
|
||
|
}
|
||
|
}
|