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