Documentation ¶
Index ¶
- type SendTemplateService
- func (s *SendTemplateService) CreateSendTemplate(ctx context.Context, req *pb.CreateSendTemplateRequest) (*pb.CreateSendTemplateReply, error)
- func (s *SendTemplateService) DeleteSendTemplate(ctx context.Context, req *pb.DeleteSendTemplateRequest) (*pb.DeleteSendTemplateReply, error)
- func (s *SendTemplateService) GetSendTemplate(ctx context.Context, req *pb.GetSendTemplateRequest) (*pb.GetSendTemplateReply, error)
- func (s *SendTemplateService) ListSendTemplate(ctx context.Context, req *pb.ListSendTemplateRequest) (*pb.ListSendTemplateReply, error)
- func (s *SendTemplateService) UpdateSendTemplate(ctx context.Context, req *pb.UpdateSendTemplateRequest) (*pb.UpdateSendTemplateReply, error)
- func (s *SendTemplateService) UpdateStatus(ctx context.Context, req *pb.UpdateStatusRequest) (*pb.UpdateStatusReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SendTemplateService ¶
type SendTemplateService struct { pb.UnimplementedSendTemplateServer // contains filtered or unexported fields }
SendTemplateService send template service
func NewSendTemplateService ¶
func NewSendTemplateService(sendTemplate *biz.SendTemplateBiz) *SendTemplateService
NewSendTemplateService new a send template service
func (*SendTemplateService) CreateSendTemplate ¶
func (s *SendTemplateService) CreateSendTemplate(ctx context.Context, req *pb.CreateSendTemplateRequest) (*pb.CreateSendTemplateReply, error)
CreateSendTemplate create send template
func (*SendTemplateService) DeleteSendTemplate ¶
func (s *SendTemplateService) DeleteSendTemplate(ctx context.Context, req *pb.DeleteSendTemplateRequest) (*pb.DeleteSendTemplateReply, error)
DeleteSendTemplate delete send template
func (*SendTemplateService) GetSendTemplate ¶
func (s *SendTemplateService) GetSendTemplate(ctx context.Context, req *pb.GetSendTemplateRequest) (*pb.GetSendTemplateReply, error)
GetSendTemplate get send template
func (*SendTemplateService) ListSendTemplate ¶
func (s *SendTemplateService) ListSendTemplate(ctx context.Context, req *pb.ListSendTemplateRequest) (*pb.ListSendTemplateReply, error)
ListSendTemplate list send template
func (*SendTemplateService) UpdateSendTemplate ¶
func (s *SendTemplateService) UpdateSendTemplate(ctx context.Context, req *pb.UpdateSendTemplateRequest) (*pb.UpdateSendTemplateReply, error)
UpdateSendTemplate update send template
func (*SendTemplateService) UpdateStatus ¶
func (s *SendTemplateService) UpdateStatus(ctx context.Context, req *pb.UpdateStatusRequest) (*pb.UpdateStatusReply, error)
UpdateStatus update send template status
Click to show internal directories.
Click to hide internal directories.