17 lines
349 B
Go
17 lines
349 B
Go
package initialize
|
|
|
|
import (
|
|
"penahub.gitlab.yandexcloud.net/backend/quiz/common.git/dal"
|
|
"penahub.gitlab.yandexcloud.net/backend/quiz/core/rpc_service"
|
|
)
|
|
|
|
type RpcRegister struct {
|
|
MailNotify *rpc_service.MailNotify
|
|
}
|
|
|
|
func InitRpcControllers(dal *dal.DAL) *RpcRegister {
|
|
return &RpcRegister{
|
|
MailNotify: rpc_service.NewMailNotify(dal),
|
|
}
|
|
}
|