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

25 lines
696 B
Go
Raw Permalink Normal View History

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,
}
}