// Code generated by protoc-gen-slc. DO NOT EDIT.
package server

import (
	"bsm/full/module/base/sender/internal/logic/mail"
	pb "bsm/full/module/base/sender/pb"
	"context"
)

type MailServer struct {
	pb.UnimplementedMailServer
}

func NewMailServer() *MailServer {
	return &MailServer{}
}

func (s *MailServer) Send(ctx context.Context, in *pb.SendMailRequest) (*pb.SendMailReply, error) {
	return mail.Send(ctx, in)
}
