Documentation
¶
Index ¶
- Constants
- type SESIdentityManager
- func (s *SESIdentityManager) CreateIdentity(ctx context.Context, domainInfo *domain.DomainInfo) error
- func (s *SESIdentityManager) DeleteIdentity(ctx context.Context, domainInfo *domain.DomainInfo) error
- func (s *SESIdentityManager) RefreshIdentity(ctx context.Context, domainInfo *domain.DomainInfo) error
- type SesEmailer
Constants ¶
View Source
const DOMAIN_PREFIX = "dispatch"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SESIdentityManager ¶
type SESIdentityManager struct {
// contains filtered or unexported fields
}
func NewSESIdentityManager ¶
func NewSESIdentityManager(sesClient thirdparty.SESClient) *SESIdentityManager
func (*SESIdentityManager) CreateIdentity ¶
func (s *SESIdentityManager) CreateIdentity(ctx context.Context, domainInfo *domain.DomainInfo) error
func (*SESIdentityManager) DeleteIdentity ¶
func (s *SESIdentityManager) DeleteIdentity(ctx context.Context, domainInfo *domain.DomainInfo) error
func (*SESIdentityManager) RefreshIdentity ¶
func (s *SESIdentityManager) RefreshIdentity(ctx context.Context, domainInfo *domain.DomainInfo) error
type SesEmailer ¶
type SesEmailer struct {
// contains filtered or unexported fields
}
func NewSesEmailer ¶
func NewSesEmailer(sesClient thirdparty.SESClient, snowflakeNode thirdparty.BaseSnowflakeNode) *SesEmailer
func (*SesEmailer) SendEmail ¶
func (se *SesEmailer) SendEmail(ctx context.Context, email *services.PreparedEmail) error
Click to show internal directories.
Click to hide internal directories.