server

package
v1.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 (s *McmsServer) DeleteEmailLog(ctx context.Context, in *mcms.UUIDsReq) (*mcms.BaseResp, error)

func (*McmsServer) DeleteSmsLog

func (s *McmsServer) DeleteSmsLog(ctx context.Context, in *mcms.UUIDsReq) (*mcms.BaseResp, error)

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 (s *McmsServer) InitDatabase(ctx context.Context, in *mcms.Empty) (*mcms.BaseResp, error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL