server

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 9 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 {
	core.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 *core.EmailLogInfo) (*core.BaseUUIDResp, error)

EmailLog management

func (*McmsServer) CreateEmailProvider

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

EmailProvider management

func (*McmsServer) CreateSmsLog

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

SmsLog management

func (*McmsServer) CreateSmsProvider

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

SmsProvider management

func (*McmsServer) DeleteEmailLog

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

func (*McmsServer) DeleteEmailProvider

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

func (*McmsServer) DeleteSmsLog

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

func (*McmsServer) DeleteSmsProvider

func (s *McmsServer) DeleteSmsProvider(ctx context.Context, in *core.IDsReq) (*core.BaseResp, error)

func (*McmsServer) GetEmailLogById

func (s *McmsServer) GetEmailLogById(ctx context.Context, in *core.UUIDReq) (*core.EmailLogInfo, error)

func (*McmsServer) GetEmailLogList

func (s *McmsServer) GetEmailLogList(ctx context.Context, in *core.EmailLogListReq) (*core.EmailLogListResp, error)

func (*McmsServer) GetEmailProviderById

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

func (*McmsServer) GetEmailProviderList

func (s *McmsServer) GetEmailProviderList(ctx context.Context, in *core.EmailProviderListReq) (*core.EmailProviderListResp, error)

func (*McmsServer) GetSmsLogById

func (s *McmsServer) GetSmsLogById(ctx context.Context, in *core.UUIDReq) (*core.SmsLogInfo, error)

func (*McmsServer) GetSmsLogList

func (s *McmsServer) GetSmsLogList(ctx context.Context, in *core.SmsLogListReq) (*core.SmsLogListResp, error)

func (*McmsServer) GetSmsProviderById

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

func (*McmsServer) GetSmsProviderList

func (s *McmsServer) GetSmsProviderList(ctx context.Context, in *core.SmsProviderListReq) (*core.SmsProviderListResp, error)

func (*McmsServer) SendEmail

func (s *McmsServer) SendEmail(ctx context.Context, in *core.EmailInfo) (*core.BaseUUIDResp, error)

func (*McmsServer) SendSms

func (s *McmsServer) SendSms(ctx context.Context, in *core.SmsInfo) (*core.BaseUUIDResp, error)

func (*McmsServer) UpdateEmailLog

func (s *McmsServer) UpdateEmailLog(ctx context.Context, in *core.EmailLogInfo) (*core.BaseResp, error)

func (*McmsServer) UpdateEmailProvider

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

func (*McmsServer) UpdateSmsLog

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

func (*McmsServer) UpdateSmsProvider

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

Jump to

Keyboard shortcuts

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