forked from ebhomengo/niki
1
0
Fork 0
niki/delivery/http_server/benefactor/kind_box/handler.go

25 lines
696 B
Go

package benefactorkindboxhandler
import (
authservice "git.gocasts.ir/ebhomengo/niki/service/auth"
benefactorkindboxservice "git.gocasts.ir/ebhomengo/niki/service/benefactor/kind_box"
"git.gocasts.ir/ebhomengo/niki/service/notification"
)
type Handler struct {
authSvc authservice.Service
benefactorKindBoxSvc benefactorkindboxservice.Service
notificationSvc notification.Service
}
func New(authSvc authservice.Service,
benefactorKindBoxSvc benefactorkindboxservice.Service,
notificationSvc notification.Service,
) Handler {
return Handler{
authSvc: authSvc,
benefactorKindBoxSvc: benefactorKindBoxSvc,
notificationSvc: notificationSvc,
}
}