mcmsclient

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseIDResp

type BaseIDResp = mcms.BaseIDResp

type BaseResp

type BaseResp = mcms.BaseResp

type BaseUUIDResp

type BaseUUIDResp = mcms.BaseUUIDResp

type EmailInfo

type EmailInfo = mcms.EmailInfo

type EmailLogInfo

type EmailLogInfo = mcms.EmailLogInfo

type EmailLogListReq

type EmailLogListReq = mcms.EmailLogListReq

type EmailLogListResp

type EmailLogListResp = mcms.EmailLogListResp

type EmailProviderInfo

type EmailProviderInfo = mcms.EmailProviderInfo

type EmailProviderListReq

type EmailProviderListReq = mcms.EmailProviderListReq

type EmailProviderListResp

type EmailProviderListResp = mcms.EmailProviderListResp

type Empty

type Empty = mcms.Empty

type IDReq

type IDReq = mcms.IDReq

type IDsReq

type IDsReq = mcms.IDsReq

type Mcms

type Mcms interface {
	InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error)
	SendEmail(ctx context.Context, in *EmailInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error)
	// EmailLog management
	CreateEmailLog(ctx context.Context, in *EmailLogInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error)
	UpdateEmailLog(ctx context.Context, in *EmailLogInfo, opts ...grpc.CallOption) (*BaseResp, error)
	GetEmailLogList(ctx context.Context, in *EmailLogListReq, opts ...grpc.CallOption) (*EmailLogListResp, error)
	GetEmailLogById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*EmailLogInfo, error)
	DeleteEmailLog(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error)
	// EmailProvider management
	CreateEmailProvider(ctx context.Context, in *EmailProviderInfo, opts ...grpc.CallOption) (*BaseIDResp, error)
	UpdateEmailProvider(ctx context.Context, in *EmailProviderInfo, opts ...grpc.CallOption) (*BaseResp, error)
	GetEmailProviderList(ctx context.Context, in *EmailProviderListReq, opts ...grpc.CallOption) (*EmailProviderListResp, error)
	GetEmailProviderById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*EmailProviderInfo, error)
	DeleteEmailProvider(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error)
	SendSms(ctx context.Context, in *SmsInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error)
	// SmsLog management
	CreateSmsLog(ctx context.Context, in *SmsLogInfo, opts ...grpc.CallOption) (*BaseUUIDResp, error)
	UpdateSmsLog(ctx context.Context, in *SmsLogInfo, opts ...grpc.CallOption) (*BaseResp, error)
	GetSmsLogList(ctx context.Context, in *SmsLogListReq, opts ...grpc.CallOption) (*SmsLogListResp, error)
	GetSmsLogById(ctx context.Context, in *UUIDReq, opts ...grpc.CallOption) (*SmsLogInfo, error)
	DeleteSmsLog(ctx context.Context, in *UUIDsReq, opts ...grpc.CallOption) (*BaseResp, error)
	// SmsProvider management
	CreateSmsProvider(ctx context.Context, in *SmsProviderInfo, opts ...grpc.CallOption) (*BaseIDResp, error)
	UpdateSmsProvider(ctx context.Context, in *SmsProviderInfo, opts ...grpc.CallOption) (*BaseResp, error)
	GetSmsProviderList(ctx context.Context, in *SmsProviderListReq, opts ...grpc.CallOption) (*SmsProviderListResp, error)
	GetSmsProviderById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*SmsProviderInfo, error)
	DeleteSmsProvider(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*BaseResp, error)
}

func NewMcms

func NewMcms(cli zrpc.Client) Mcms

type PageInfoReq

type PageInfoReq = mcms.PageInfoReq

type SmsInfo

type SmsInfo = mcms.SmsInfo

type SmsLogInfo

type SmsLogInfo = mcms.SmsLogInfo

type SmsLogListReq

type SmsLogListReq = mcms.SmsLogListReq

type SmsLogListResp

type SmsLogListResp = mcms.SmsLogListResp

type SmsProviderInfo

type SmsProviderInfo = mcms.SmsProviderInfo

type SmsProviderListReq

type SmsProviderListReq = mcms.SmsProviderListReq

type SmsProviderListResp

type SmsProviderListResp = mcms.SmsProviderListResp

type UUIDReq

type UUIDReq = mcms.UUIDReq

type UUIDsReq

type UUIDsReq = mcms.UUIDsReq

Jump to

Keyboard shortcuts

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