Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { service.BasicService proto_build.UnimplementedCommonServiceServer // contains filtered or unexported fields }
func NewCommonService ¶
func NewCommonService(rpcConf *config.Rpc, emailRepository *repository.EmailRepository, smMsRepository *repository.SmMsRepository) *Service
func (*Service) SendEmail ¶
func (s *Service) SendEmail(c context.Context, req *proto_build.SendEmailRequest) (*proto_build.SendEmailResponse, error)
func (*Service) UploadImage ¶
func (s *Service) UploadImage(stream proto_build.CommonService_UploadImageServer) error
Click to show internal directories.
Click to hide internal directories.