Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Provide( func( l *zap.Logger, s mfx2.AppParams, ms mailfx.MailSettingParams, mqParams mfx.MessageQueueParams, redisParams ofx.RedisParams, aParams mfx2.AppParams, ) (gOut sfx.GrpcServiceResult, err error) { if svc, e := NewService( l, s.Deployment, redisParams.Redis, ms.MailUrl, ms.MailDefaultExpire, ms.MailEncryptionKey, mqParams.MessageQueue, aParams, ); e != nil { err = e return } else { gOut.GrpcService = svc return } }, )
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { utility.WithoutAuth // contains filtered or unexported fields }
func NewService ¶
func (*Service) RegisterWithGrpcServer ¶
func (s *Service) RegisterWithGrpcServer(server siface.IGrpcServer) error
func (*Service) SendMail ¶
func (s *Service) SendMail(_ context.Context, request *pb.SendMailRequest) (*pb.SendMailResponse, error)
Click to show internal directories.
Click to hide internal directories.