core/initialize/rpc_controllers.go

17 lines
349 B
Go
Raw Normal View History

2024-04-03 15:32:05 +00:00
package initialize
import (
"penahub.gitlab.yandexcloud.net/backend/quiz/common.git/dal"
2024-06-12 13:27:42 +00:00
"penahub.gitlab.yandexcloud.net/backend/quiz/core/rpc_service"
2024-04-03 15:32:05 +00:00
)
type RpcRegister struct {
MailNotify *rpc_service.MailNotify
}
func InitRpcControllers(dal *dal.DAL) *RpcRegister {
return &RpcRegister{
MailNotify: rpc_service.NewMailNotify(dal),
}
}