forked from ebhomengo/niki
25 lines
734 B
Go
25 lines
734 B
Go
package agentkindboxreqhandler
|
|
|
|
import (
|
|
adminauthorizationservice "git.gocasts.ir/ebhomengo/niki/service/admin/authorization"
|
|
agentkindboxreqservice "git.gocasts.ir/ebhomengo/niki/service/agent/kind_box_req"
|
|
authservice "git.gocasts.ir/ebhomengo/niki/service/auth"
|
|
)
|
|
|
|
type Handler struct {
|
|
authSvc authservice.Service
|
|
agentKindBoxReqSvc agentkindboxreqservice.Service
|
|
adminAuthorizeSvc adminauthorizationservice.Service
|
|
}
|
|
|
|
func New(authSvc authservice.Service,
|
|
agentKindBoxReqSvc agentkindboxreqservice.Service,
|
|
adminAuthorizeSvc adminauthorizationservice.Service,
|
|
) Handler {
|
|
return Handler{
|
|
authSvc: authSvc,
|
|
agentKindBoxReqSvc: agentKindBoxReqSvc,
|
|
adminAuthorizeSvc: adminAuthorizeSvc,
|
|
}
|
|
}
|