server

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 10 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) CreateEmailProvider added in v1.0.14

func (s *McmsServer) CreateEmailProvider(ctx context.Context, in *mcms.EmailProviderInfo) (*mcms.BaseIDResp, error)

EmailProvider management

func (*McmsServer) CreateSmsLog

func (s *McmsServer) CreateSmsLog(ctx context.Context, in *mcms.SmsLogInfo) (*mcms.BaseUUIDResp, error)

SmsLog management

func (*McmsServer) CreateSmsProvider added in v1.0.14

func (s *McmsServer) CreateSmsProvider(ctx context.Context, in *mcms.SmsProviderInfo) (*mcms.BaseIDResp, error)

SmsProvider management

func (*McmsServer) DeleteEmailLog

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

func (*McmsServer) DeleteEmailProvider added in v1.0.14

func (s *McmsServer) DeleteEmailProvider(ctx context.Context, in *mcms.IDsReq) (*mcms.BaseResp, error)

func (*McmsServer) DeleteSmsLog

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

func (*McmsServer) DeleteSmsProvider added in v1.0.14

func (s *McmsServer) DeleteSmsProvider(ctx context.Context, in *mcms.IDsReq) (*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) GetEmailProviderById added in v1.0.14

func (s *McmsServer) GetEmailProviderById(ctx context.Context, in *mcms.IDReq) (*mcms.EmailProviderInfo, error)

func (*McmsServer) GetEmailProviderList added in v1.0.14

func (s *McmsServer) GetEmailProviderList(ctx context.Context, in *mcms.EmailProviderListReq) (*mcms.EmailProviderListResp, 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) GetSmsProviderById added in v1.0.14

func (s *McmsServer) GetSmsProviderById(ctx context.Context, in *mcms.IDReq) (*mcms.SmsProviderInfo, error)

func (*McmsServer) GetSmsProviderList added in v1.0.14

func (s *McmsServer) GetSmsProviderList(ctx context.Context, in *mcms.SmsProviderListReq) (*mcms.SmsProviderListResp, 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) UpdateEmailProvider added in v1.0.14

func (s *McmsServer) UpdateEmailProvider(ctx context.Context, in *mcms.EmailProviderInfo) (*mcms.BaseResp, error)

func (*McmsServer) UpdateSmsLog

func (s *McmsServer) UpdateSmsLog(ctx context.Context, in *mcms.SmsLogInfo) (*mcms.BaseResp, error)

func (*McmsServer) UpdateSmsProvider added in v1.0.14

func (s *McmsServer) UpdateSmsProvider(ctx context.Context, in *mcms.SmsProviderInfo) (*mcms.BaseResp, error)

Jump to

Keyboard shortcuts

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