Documentation ¶
Index ¶
- type Auth
- type EmailConfig
- type GetEmailTemplateDataRequest
- type GetEmailTemplateDataResponse
- type IEmailRenderer
- type IEmailService
- type IEmailTemplateData
- type PlainAuth
- type RenderEmailRequest
- type RenderEmailResponse
- type SendEmailRequest
- type SendEmailResponse
- type SendSimpleEmailRequest
- type SendSimpleEmailResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailConfig ¶
type GetEmailTemplateDataRequest ¶ added in v1.6.2
type GetEmailTemplateDataRequest struct { // SubjectId is a well-known identifier for the email subject SubjectId string }
type GetEmailTemplateDataResponse ¶ added in v1.6.2
type GetEmailTemplateDataResponse struct {
Data map[string]interface{}
}
type IEmailRenderer ¶
type IEmailRenderer interface {
RenderEmail(ctx context.Context, request *RenderEmailRequest) (*RenderEmailResponse, error)
}
type IEmailService ¶
type IEmailService interface { SendEmail(ctx context.Context, request *SendEmailRequest) (*SendEmailResponse, error) SendSimpleEmail(ctx context.Context, request *SendSimpleEmailRequest) (*SendSimpleEmailResponse, error) }
type IEmailTemplateData ¶ added in v1.6.2
type IEmailTemplateData interface {
GetEmailTemplateData(request *GetEmailTemplateDataRequest) (*GetEmailTemplateDataResponse, error)
}
type RenderEmailRequest ¶
type RenderEmailResponse ¶
type SendEmailRequest ¶
type SendEmailResponse ¶
type SendEmailResponse struct{}
type SendSimpleEmailRequest ¶
type SendSimpleEmailResponse ¶
type SendSimpleEmailResponse struct{}
Click to show internal directories.
Click to hide internal directories.