Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthErr ¶
type AuthErr struct {
Err error
}
AuthErr is an error that indicates a problem with the provider credentials / authentication.
type Base ¶
type Base struct { ID string Type mailingadminv1.MailingProviderType Name string FromAddress *mail.Address IsVerified bool }
Base is a base structure used to provide common provider fields.
type MailingProviderDefinition ¶
type MailingProviderDefinition struct { // UID is the unique identifier of the mailing provider. UID string // CreatedAt is the creation time of the mailing provider. CreatedAt time.Time // UpdatedAt is the update time of the mailing provider. UpdatedAt time.Time // FromAddress is the default from address of the mailing provider. FromAddress string // Name is the name of the mailing provider. Name string // Type is the type of the mailing provider. Type mailingadminv1.MailingProviderType // Config is the configuration of the mailing provider. Config *mailingadminv1.MailingProviderConfig // InUse is a flag that indicates whether the mailing provider is in use. InUse bool // VerifiedAt is the verification time of the mailing provider. VerifiedAt time.Time }
MailingProviderDefinition is a mailing provider.
func (MailingProviderDefinition) ToProto ¶
func (d MailingProviderDefinition) ToProto() mailingadminv1.MailingProvider
ToProto converts the mailing provider to a protobuf message.
Click to show internal directories.
Click to hide internal directories.