Documentation ¶
Index ¶
- type CallToAction
- type Client
- func (c *Client) SendAlertStatus(opts *drivers.AlertStatus) error
- func (c *Client) SendCallToAction(opts *CallToAction) error
- func (c *Client) SendInformational(opts *Informational) error
- func (c *Client) SendInvoicePaymentFailed(opts *InvoicePaymentFailed) error
- func (c *Client) SendInvoicePaymentSuccess(opts *InvoicePaymentSuccess) error
- func (c *Client) SendInvoiceUnpaid(opts *InvoiceUnpaid) error
- func (c *Client) SendOrganizationAddition(opts *OrganizationAddition) error
- func (c *Client) SendOrganizationInvite(opts *OrganizationInvite) error
- func (c *Client) SendPlanUpdate(opts *PlanUpdate) error
- func (c *Client) SendProjectAccessGranted(opts *ProjectAccessGranted) error
- func (c *Client) SendProjectAccessRejected(opts *ProjectAccessRejected) error
- func (c *Client) SendProjectAccessRequest(opts *ProjectAccessRequest) error
- func (c *Client) SendProjectAddition(opts *ProjectAddition) error
- func (c *Client) SendProjectInvite(opts *ProjectInvite) error
- func (c *Client) SendScheduledReport(opts *ScheduledReport) error
- func (c *Client) SendSubscriptionCancelled(opts *SubscriptionCancelled) error
- func (c *Client) SendSubscriptionEnded(opts *SubscriptionEnded) error
- func (c *Client) SendSubscriptionRenewed(opts *SubscriptionRenewed) error
- func (c *Client) SendTeamPlanRenewal(opts *TeamPlan) error
- func (c *Client) SendTeamPlanStarted(opts *TeamPlan) error
- func (c *Client) SendTrialEnded(opts *TrialEnded) error
- func (c *Client) SendTrialEndingSoon(opts *TrialEndingSoon) error
- func (c *Client) SendTrialExtended(opts *TrialExtended) error
- func (c *Client) SendTrialGracePeriodEnded(opts *TrialGracePeriodEnded) error
- func (c *Client) SendTrialStarted(opts *TrialStarted) error
- func (c *Client) SendWelcomeToTeam(opts *Welcome) error
- func (c *Client) SendWelcomeToTrial(opts *Welcome) error
- type Informational
- type InvoicePaymentFailed
- type InvoicePaymentSuccess
- type InvoiceUnpaid
- type OrganizationAddition
- type OrganizationInvite
- type PlanUpdate
- type ProjectAccessGranted
- type ProjectAccessRejected
- type ProjectAccessRequest
- type ProjectAddition
- type ProjectInvite
- type SMTPOptions
- type ScheduledReport
- type Sender
- type SubscriptionCancelled
- type SubscriptionEnded
- type SubscriptionRenewed
- type TeamPlan
- type TestSender
- type TrialEnded
- type TrialEndingSoon
- type TrialExtended
- type TrialGracePeriodEnded
- type TrialStarted
- type Welcome
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallToAction ¶
type Client ¶
type Client struct { Sender Sender // contains filtered or unexported fields }
func (*Client) SendAlertStatus ¶ added in v0.41.0
func (c *Client) SendAlertStatus(opts *drivers.AlertStatus) error
func (*Client) SendCallToAction ¶
func (c *Client) SendCallToAction(opts *CallToAction) error
func (*Client) SendInformational ¶ added in v0.48.0
func (c *Client) SendInformational(opts *Informational) error
func (*Client) SendInvoicePaymentFailed ¶ added in v0.50.0
func (c *Client) SendInvoicePaymentFailed(opts *InvoicePaymentFailed) error
func (*Client) SendInvoicePaymentSuccess ¶ added in v0.50.0
func (c *Client) SendInvoicePaymentSuccess(opts *InvoicePaymentSuccess) error
SendInvoicePaymentSuccess Currently Used only when a previously failed invoice payment succeeds
func (*Client) SendInvoiceUnpaid ¶ added in v0.50.0
func (c *Client) SendInvoiceUnpaid(opts *InvoiceUnpaid) error
SendInvoiceUnpaid sent after the payment grace period has ended
func (*Client) SendOrganizationAddition ¶
func (c *Client) SendOrganizationAddition(opts *OrganizationAddition) error
func (*Client) SendOrganizationInvite ¶
func (c *Client) SendOrganizationInvite(opts *OrganizationInvite) error
func (*Client) SendPlanUpdate ¶ added in v0.51.0
func (c *Client) SendPlanUpdate(opts *PlanUpdate) error
func (*Client) SendProjectAccessGranted ¶ added in v0.48.0
func (c *Client) SendProjectAccessGranted(opts *ProjectAccessGranted) error
func (*Client) SendProjectAccessRejected ¶ added in v0.48.0
func (c *Client) SendProjectAccessRejected(opts *ProjectAccessRejected) error
func (*Client) SendProjectAccessRequest ¶ added in v0.48.0
func (c *Client) SendProjectAccessRequest(opts *ProjectAccessRequest) error
func (*Client) SendProjectAddition ¶
func (c *Client) SendProjectAddition(opts *ProjectAddition) error
func (*Client) SendProjectInvite ¶
func (c *Client) SendProjectInvite(opts *ProjectInvite) error
func (*Client) SendScheduledReport ¶
func (c *Client) SendScheduledReport(opts *ScheduledReport) error
func (*Client) SendSubscriptionCancelled ¶ added in v0.51.0
func (c *Client) SendSubscriptionCancelled(opts *SubscriptionCancelled) error
func (*Client) SendSubscriptionEnded ¶ added in v0.50.0
func (c *Client) SendSubscriptionEnded(opts *SubscriptionEnded) error
func (*Client) SendSubscriptionRenewed ¶ added in v0.51.0
func (c *Client) SendSubscriptionRenewed(opts *SubscriptionRenewed) error
func (*Client) SendTeamPlanRenewal ¶ added in v0.51.1
SendTeamPlanRenewal sends customised plan renewed email for Team Plan
func (*Client) SendTeamPlanStarted ¶ added in v0.51.1
SendTeamPlanStarted sends customised plan started email for Team Plan
func (*Client) SendTrialEnded ¶ added in v0.50.0
func (c *Client) SendTrialEnded(opts *TrialEnded) error
func (*Client) SendTrialEndingSoon ¶ added in v0.50.0
func (c *Client) SendTrialEndingSoon(opts *TrialEndingSoon) error
func (*Client) SendTrialExtended ¶ added in v0.51.0
func (c *Client) SendTrialExtended(opts *TrialExtended) error
func (*Client) SendTrialGracePeriodEnded ¶ added in v0.50.0
func (c *Client) SendTrialGracePeriodEnded(opts *TrialGracePeriodEnded) error
func (*Client) SendTrialStarted ¶ added in v0.50.0
func (c *Client) SendTrialStarted(opts *TrialStarted) error
func (*Client) SendWelcomeToTeam ¶ added in v0.51.1
func (*Client) SendWelcomeToTrial ¶ added in v0.51.1
type Informational ¶ added in v0.48.0
type InvoicePaymentFailed ¶ added in v0.50.0
type InvoicePaymentSuccess ¶ added in v0.50.0
type InvoiceUnpaid ¶ added in v0.50.0
type OrganizationAddition ¶
type OrganizationInvite ¶
type PlanUpdate ¶ added in v0.51.0
type ProjectAccessGranted ¶ added in v0.48.0
type ProjectAccessRejected ¶ added in v0.48.0
type ProjectAccessRequest ¶ added in v0.48.0
type ProjectAddition ¶
type ProjectInvite ¶
type SMTPOptions ¶
type ScheduledReport ¶
type Sender ¶
func NewConsoleSender ¶
func NewNoopSender ¶
func NewNoopSender() Sender
func NewSMTPSender ¶
func NewSMTPSender(opts *SMTPOptions) (Sender, error)
func NewTestSender ¶ added in v0.41.0
func NewTestSender() Sender
type SubscriptionCancelled ¶ added in v0.51.0
type SubscriptionEnded ¶ added in v0.50.0
type SubscriptionRenewed ¶ added in v0.51.0
type TestSender ¶ added in v0.41.0
type TestSender struct { Emails []struct { ToEmail string ToName string Subject string Body string } }
func (*TestSender) Send ¶ added in v0.41.0
func (s *TestSender) Send(toEmail, toName, subject, body string) error
type TrialEnded ¶ added in v0.50.0
type TrialEndingSoon ¶ added in v0.50.0
type TrialExtended ¶ added in v0.51.0
type TrialGracePeriodEnded ¶ added in v0.50.0
type TrialStarted ¶ added in v0.50.0
Click to show internal directories.
Click to hide internal directories.