Documentation ¶
Index ¶
- type McmsServer
- func (s *McmsServer) CreateEmailLog(ctx context.Context, in *mcms.EmailLogInfo) (*mcms.BaseUUIDResp, error)
- func (s *McmsServer) CreateSmsLog(ctx context.Context, in *mcms.SmsLogInfo) (*mcms.BaseUUIDResp, error)
- func (s *McmsServer) DeleteEmailLog(ctx context.Context, in *mcms.UUIDsReq) (*mcms.BaseResp, error)
- func (s *McmsServer) DeleteSmsLog(ctx context.Context, in *mcms.UUIDsReq) (*mcms.BaseResp, error)
- func (s *McmsServer) GetEmailLogById(ctx context.Context, in *mcms.UUIDReq) (*mcms.EmailLogInfo, error)
- func (s *McmsServer) GetEmailLogList(ctx context.Context, in *mcms.EmailLogListReq) (*mcms.EmailLogListResp, error)
- func (s *McmsServer) GetSmsLogById(ctx context.Context, in *mcms.UUIDReq) (*mcms.SmsLogInfo, error)
- func (s *McmsServer) GetSmsLogList(ctx context.Context, in *mcms.SmsLogListReq) (*mcms.SmsLogListResp, error)
- func (s *McmsServer) InitDatabase(ctx context.Context, in *mcms.Empty) (*mcms.BaseResp, error)
- func (s *McmsServer) SendEmail(ctx context.Context, in *mcms.EmailInfo) (*mcms.BaseUUIDResp, error)
- func (s *McmsServer) SendSms(ctx context.Context, in *mcms.SmsInfo) (*mcms.BaseUUIDResp, error)
- func (s *McmsServer) UpdateEmailLog(ctx context.Context, in *mcms.EmailLogInfo) (*mcms.BaseResp, error)
- func (s *McmsServer) UpdateSmsLog(ctx context.Context, in *mcms.SmsLogInfo) (*mcms.BaseResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type McmsServer ¶
type McmsServer struct { mcms.UnimplementedMcmsServer // contains filtered or unexported fields }
func NewMcmsServer ¶
func NewMcmsServer(svcCtx *svc.ServiceContext) *McmsServer
func (*McmsServer) CreateEmailLog ¶
func (s *McmsServer) CreateEmailLog(ctx context.Context, in *mcms.EmailLogInfo) (*mcms.BaseUUIDResp, error)
EmailLog management
func (*McmsServer) CreateSmsLog ¶
func (s *McmsServer) CreateSmsLog(ctx context.Context, in *mcms.SmsLogInfo) (*mcms.BaseUUIDResp, error)
SmsLog management
func (*McmsServer) DeleteEmailLog ¶
func (*McmsServer) DeleteSmsLog ¶
func (*McmsServer) GetEmailLogById ¶
func (s *McmsServer) GetEmailLogById(ctx context.Context, in *mcms.UUIDReq) (*mcms.EmailLogInfo, error)
func (*McmsServer) GetEmailLogList ¶
func (s *McmsServer) GetEmailLogList(ctx context.Context, in *mcms.EmailLogListReq) (*mcms.EmailLogListResp, error)
func (*McmsServer) GetSmsLogById ¶
func (s *McmsServer) GetSmsLogById(ctx context.Context, in *mcms.UUIDReq) (*mcms.SmsLogInfo, error)
func (*McmsServer) GetSmsLogList ¶
func (s *McmsServer) GetSmsLogList(ctx context.Context, in *mcms.SmsLogListReq) (*mcms.SmsLogListResp, error)
func (*McmsServer) InitDatabase ¶
func (*McmsServer) SendEmail ¶
func (s *McmsServer) SendEmail(ctx context.Context, in *mcms.EmailInfo) (*mcms.BaseUUIDResp, error)
func (*McmsServer) SendSms ¶
func (s *McmsServer) SendSms(ctx context.Context, in *mcms.SmsInfo) (*mcms.BaseUUIDResp, error)
func (*McmsServer) UpdateEmailLog ¶
func (s *McmsServer) UpdateEmailLog(ctx context.Context, in *mcms.EmailLogInfo) (*mcms.BaseResp, error)
func (*McmsServer) UpdateSmsLog ¶
func (s *McmsServer) UpdateSmsLog(ctx context.Context, in *mcms.SmsLogInfo) (*mcms.BaseResp, error)
Click to show internal directories.
Click to hide internal directories.