email

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginCodeValid added in v1.1.0

type LoginCodeValid struct {
	// contains filtered or unexported fields
}

func NewLoginCodeValid added in v1.1.0

func NewLoginCodeValid(d template.Dependencies, m *LoginCodeValidModel) *LoginCodeValid

func (*LoginCodeValid) EmailBody added in v1.1.0

func (t *LoginCodeValid) EmailBody(ctx context.Context) (string, error)

func (*LoginCodeValid) EmailBodyPlaintext added in v1.1.0

func (t *LoginCodeValid) EmailBodyPlaintext(ctx context.Context) (string, error)

func (*LoginCodeValid) EmailRecipient added in v1.1.0

func (t *LoginCodeValid) EmailRecipient() (string, error)

func (*LoginCodeValid) EmailSubject added in v1.1.0

func (t *LoginCodeValid) EmailSubject(ctx context.Context) (string, error)

func (*LoginCodeValid) MarshalJSON added in v1.1.0

func (t *LoginCodeValid) MarshalJSON() ([]byte, error)

func (*LoginCodeValid) TemplateType added in v1.1.0

func (t *LoginCodeValid) TemplateType() template.TemplateType

type LoginCodeValidModel added in v1.1.0

type LoginCodeValidModel struct {
	To               string                 `json:"to"`
	LoginCode        string                 `json:"login_code"`
	Identity         map[string]interface{} `json:"identity"`
	RequestURL       string                 `json:"request_url"`
	TransientPayload map[string]interface{} `json:"transient_payload"`
}

type RecoveryCodeInvalid added in v0.11.0

type RecoveryCodeInvalid struct {
	// contains filtered or unexported fields
}

func NewRecoveryCodeInvalid added in v0.11.0

func (*RecoveryCodeInvalid) EmailBody added in v0.11.0

func (t *RecoveryCodeInvalid) EmailBody(ctx context.Context) (string, error)

func (*RecoveryCodeInvalid) EmailBodyPlaintext added in v0.11.0

func (t *RecoveryCodeInvalid) EmailBodyPlaintext(ctx context.Context) (string, error)

func (*RecoveryCodeInvalid) EmailRecipient added in v0.11.0

func (t *RecoveryCodeInvalid) EmailRecipient() (string, error)

func (*RecoveryCodeInvalid) EmailSubject added in v0.11.0

func (t *RecoveryCodeInvalid) EmailSubject(ctx context.Context) (string, error)

func (*RecoveryCodeInvalid) MarshalJSON added in v0.11.0

func (t *RecoveryCodeInvalid) MarshalJSON() ([]byte, error)

func (*RecoveryCodeInvalid) TemplateType added in v1.1.0

func (t *RecoveryCodeInvalid) TemplateType() template.TemplateType

type RecoveryCodeInvalidModel added in v0.11.0

type RecoveryCodeInvalidModel struct {
	To               string                 `json:"to"`
	RequestURL       string                 `json:"request_url"`
	TransientPayload map[string]interface{} `json:"transient_payload"`
}

type RecoveryCodeValid added in v0.11.0

type RecoveryCodeValid struct {
	// contains filtered or unexported fields
}

func NewRecoveryCodeValid added in v0.11.0

func (*RecoveryCodeValid) EmailBody added in v0.11.0

func (t *RecoveryCodeValid) EmailBody(ctx context.Context) (string, error)

func (*RecoveryCodeValid) EmailBodyPlaintext added in v0.11.0

func (t *RecoveryCodeValid) EmailBodyPlaintext(ctx context.Context) (string, error)

func (*RecoveryCodeValid) EmailRecipient added in v0.11.0

func (t *RecoveryCodeValid) EmailRecipient() (string, error)

func (*RecoveryCodeValid) EmailSubject added in v0.11.0

func (t *RecoveryCodeValid) EmailSubject(ctx context.Context) (string, error)

func (*RecoveryCodeValid) MarshalJSON added in v0.11.0

func (t *RecoveryCodeValid) MarshalJSON() ([]byte, error)

func (*RecoveryCodeValid) TemplateType added in v1.1.0

func (t *RecoveryCodeValid) TemplateType() template.TemplateType

type RecoveryCodeValidModel added in v0.11.0

type RecoveryCodeValidModel struct {
	To               string                 `json:"to"`
	RecoveryCode     string                 `json:"recovery_code"`
	Identity         map[string]interface{} `json:"identity"`
	RequestURL       string                 `json:"request_url"`
	TransientPayload map[string]interface{} `json:"transient_payload"`
}

type RecoveryInvalid

type RecoveryInvalid struct {
	// contains filtered or unexported fields
}

func (*RecoveryInvalid) EmailBody

func (t *RecoveryInvalid) EmailBody(ctx context.Context) (string, error)

func (*RecoveryInvalid) EmailBodyPlaintext

func (t *RecoveryInvalid) EmailBodyPlaintext(ctx context.Context) (string, error)

func (*RecoveryInvalid) EmailRecipient

func (t *RecoveryInvalid) EmailRecipient() (string, error)

func (*RecoveryInvalid) EmailSubject

func (t *RecoveryInvalid) EmailSubject(ctx context.Context) (string, error)

func (*RecoveryInvalid) MarshalJSON

func (t *RecoveryInvalid) MarshalJSON() ([]byte, error)

func (*RecoveryInvalid) TemplateType added in v1.1.0

func (t *RecoveryInvalid) TemplateType() template.TemplateType

type RecoveryInvalidModel

type RecoveryInvalidModel struct {
	To               string                 `json:"to"`
	RequestURL       string                 `json:"request_url"`
	TransientPayload map[string]interface{} `json:"transient_payload"`
}

type RecoveryValid

type RecoveryValid struct {
	// contains filtered or unexported fields
}

func (*RecoveryValid) EmailBody

func (t *RecoveryValid) EmailBody(ctx context.Context) (string, error)

func (*RecoveryValid) EmailBodyPlaintext

func (t *RecoveryValid) EmailBodyPlaintext(ctx context.Context) (string, error)

func (*RecoveryValid) EmailRecipient

func (t *RecoveryValid) EmailRecipient() (string, error)

func (*RecoveryValid) EmailSubject

func (t *RecoveryValid) EmailSubject(ctx context.Context) (string, error)

func (*RecoveryValid) MarshalJSON

func (t *RecoveryValid) MarshalJSON() ([]byte, error)

func (*RecoveryValid) TemplateType added in v1.1.0

func (t *RecoveryValid) TemplateType() template.TemplateType

type RecoveryValidModel

type RecoveryValidModel struct {
	To               string                 `json:"to"`
	RecoveryURL      string                 `json:"recovery_url"`
	Identity         map[string]interface{} `json:"identity"`
	RequestURL       string                 `json:"request_url"`
	TransientPayload map[string]interface{} `json:"transient_payload"`
}

type RegistrationCodeValid added in v1.1.0

type RegistrationCodeValid struct {
	// contains filtered or unexported fields
}

func NewRegistrationCodeValid added in v1.1.0

func (*RegistrationCodeValid) EmailBody added in v1.1.0

func (t *RegistrationCodeValid) EmailBody(ctx context.Context) (string, error)

func (*RegistrationCodeValid) EmailBodyPlaintext added in v1.1.0

func (t *RegistrationCodeValid) EmailBodyPlaintext(ctx context.Context) (string, error)

func (*RegistrationCodeValid) EmailRecipient added in v1.1.0

func (t *RegistrationCodeValid) EmailRecipient() (string, error)

func (*RegistrationCodeValid) EmailSubject added in v1.1.0

func (t *RegistrationCodeValid) EmailSubject(ctx context.Context) (string, error)

func (*RegistrationCodeValid) MarshalJSON added in v1.1.0

func (t *RegistrationCodeValid) MarshalJSON() ([]byte, error)

func (*RegistrationCodeValid) TemplateType added in v1.1.0

func (t *RegistrationCodeValid) TemplateType() template.TemplateType

type RegistrationCodeValidModel added in v1.1.0

type RegistrationCodeValidModel struct {
	To               string                 `json:"to"`
	Traits           map[string]interface{} `json:"traits"`
	RegistrationCode string                 `json:"registration_code"`
	RequestURL       string                 `json:"request_url"`
	TransientPayload map[string]interface{} `json:"transient_payload"`
}

type TestStub

type TestStub struct {
	// contains filtered or unexported fields
}

func NewTestStub

func NewTestStub(d template.Dependencies, m *TestStubModel) *TestStub

func (*TestStub) EmailBody

func (t *TestStub) EmailBody(ctx context.Context) (string, error)

func (*TestStub) EmailBodyPlaintext

func (t *TestStub) EmailBodyPlaintext(ctx context.Context) (string, error)

func (*TestStub) EmailRecipient

func (t *TestStub) EmailRecipient() (string, error)

func (*TestStub) EmailSubject

func (t *TestStub) EmailSubject(ctx context.Context) (string, error)

func (*TestStub) MarshalJSON

func (t *TestStub) MarshalJSON() ([]byte, error)

func (*TestStub) TemplateType added in v1.1.0

func (t *TestStub) TemplateType() template.TemplateType

type TestStubModel

type TestStubModel struct {
	To      string `json:"to"`
	Subject string `json:"subject"`
	Body    string `json:"body"`
}

type VerificationCodeInvalid added in v0.11.0

type VerificationCodeInvalid struct {
	// contains filtered or unexported fields
}

func NewVerificationCodeInvalid added in v0.11.0

func (*VerificationCodeInvalid) EmailBody added in v0.11.0

func (t *VerificationCodeInvalid) EmailBody(ctx context.Context) (string, error)

func (*VerificationCodeInvalid) EmailBodyPlaintext added in v0.11.0

func (t *VerificationCodeInvalid) EmailBodyPlaintext(ctx context.Context) (string, error)

func (*VerificationCodeInvalid) EmailRecipient added in v0.11.0

func (t *VerificationCodeInvalid) EmailRecipient() (string, error)

func (*VerificationCodeInvalid) EmailSubject added in v0.11.0

func (t *VerificationCodeInvalid) EmailSubject(ctx context.Context) (string, error)

func (*VerificationCodeInvalid) MarshalJSON added in v0.11.0

func (t *VerificationCodeInvalid) MarshalJSON() ([]byte, error)

func (*VerificationCodeInvalid) TemplateType added in v1.1.0

func (t *VerificationCodeInvalid) TemplateType() template.TemplateType

type VerificationCodeInvalidModel added in v0.11.0

type VerificationCodeInvalidModel struct {
	To               string                 `json:"to"`
	RequestURL       string                 `json:"request_url"`
	TransientPayload map[string]interface{} `json:"transient_payload"`
}

type VerificationCodeValid added in v0.11.0

type VerificationCodeValid struct {
	// contains filtered or unexported fields
}

func NewVerificationCodeValid added in v0.11.0

func (*VerificationCodeValid) EmailBody added in v0.11.0

func (t *VerificationCodeValid) EmailBody(ctx context.Context) (string, error)

func (*VerificationCodeValid) EmailBodyPlaintext added in v0.11.0

func (t *VerificationCodeValid) EmailBodyPlaintext(ctx context.Context) (string, error)

func (*VerificationCodeValid) EmailRecipient added in v0.11.0

func (t *VerificationCodeValid) EmailRecipient() (string, error)

func (*VerificationCodeValid) EmailSubject added in v0.11.0

func (t *VerificationCodeValid) EmailSubject(ctx context.Context) (string, error)

func (*VerificationCodeValid) MarshalJSON added in v0.11.0

func (t *VerificationCodeValid) MarshalJSON() ([]byte, error)

func (*VerificationCodeValid) TemplateType added in v1.1.0

func (t *VerificationCodeValid) TemplateType() template.TemplateType

type VerificationCodeValidModel added in v0.11.0

type VerificationCodeValidModel struct {
	To               string                 `json:"to"`
	VerificationURL  string                 `json:"verification_url"`
	VerificationCode string                 `json:"verification_code"`
	Identity         map[string]interface{} `json:"identity"`
	RequestURL       string                 `json:"request_url"`
	TransientPayload map[string]interface{} `json:"transient_payload"`
}

type VerificationInvalid

type VerificationInvalid struct {
	// contains filtered or unexported fields
}

func (*VerificationInvalid) EmailBody

func (t *VerificationInvalid) EmailBody(ctx context.Context) (string, error)

func (*VerificationInvalid) EmailBodyPlaintext

func (t *VerificationInvalid) EmailBodyPlaintext(ctx context.Context) (string, error)

func (*VerificationInvalid) EmailRecipient

func (t *VerificationInvalid) EmailRecipient() (string, error)

func (*VerificationInvalid) EmailSubject

func (t *VerificationInvalid) EmailSubject(ctx context.Context) (string, error)

func (*VerificationInvalid) MarshalJSON

func (t *VerificationInvalid) MarshalJSON() ([]byte, error)

func (*VerificationInvalid) TemplateType added in v1.1.0

func (t *VerificationInvalid) TemplateType() template.TemplateType

type VerificationInvalidModel

type VerificationInvalidModel struct {
	To               string                 `json:"to"`
	RequestURL       string                 `json:"request_url"`
	TransientPayload map[string]interface{} `json:"transient_payload"`
}

type VerificationValid

type VerificationValid struct {
	// contains filtered or unexported fields
}

func (*VerificationValid) EmailBody

func (t *VerificationValid) EmailBody(ctx context.Context) (string, error)

func (*VerificationValid) EmailBodyPlaintext

func (t *VerificationValid) EmailBodyPlaintext(ctx context.Context) (string, error)

func (*VerificationValid) EmailRecipient

func (t *VerificationValid) EmailRecipient() (string, error)

func (*VerificationValid) EmailSubject

func (t *VerificationValid) EmailSubject(ctx context.Context) (string, error)

func (*VerificationValid) MarshalJSON

func (t *VerificationValid) MarshalJSON() ([]byte, error)

func (*VerificationValid) TemplateType added in v1.1.0

func (t *VerificationValid) TemplateType() template.TemplateType

type VerificationValidModel

type VerificationValidModel struct {
	To               string                 `json:"to"`
	VerificationURL  string                 `json:"verification_url"`
	Identity         map[string]interface{} `json:"identity"`
	RequestURL       string                 `json:"request_url"`
	TransientPayload map[string]interface{} `json:"transient_payload"`
}

Jump to

Keyboard shortcuts

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