sendgrid

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserNotifier

func NewUserNotifier(opts *UserNotifierOpts) notifier.UserNotifier

Types

type IncidentNotifier

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

func (*IncidentNotifier) SendIncidentNotification

func (s *IncidentNotifier) SendIncidentNotification(opts *notifier.SendIncidentNotificationOpts) error

type IncidentNotifierOpts

type IncidentNotifierOpts struct {
	*SharedOpts
	IncidentTemplateID string
}

type SharedOpts

type SharedOpts struct {
	APIKey                 string
	SenderEmail            string
	RestrictedEmailDomains []string
}

type UserNotifier

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

func (*UserNotifier) GetID

func (s *UserNotifier) GetID() string

func (*UserNotifier) SendInviteLinkEmail

func (s *UserNotifier) SendInviteLinkEmail(opts *notifier.SendInviteLinkEmailOpts) error

func (*UserNotifier) SendPasswordResetEmail

func (s *UserNotifier) SendPasswordResetEmail(opts *notifier.SendPasswordResetEmailOpts) error

func (*UserNotifier) SendVerificationEmail

func (s *UserNotifier) SendVerificationEmail(opts *notifier.SendVerificationEmailOpts) error

type UserNotifierOpts

type UserNotifierOpts struct {
	*SharedOpts
	PWResetTemplateID     string
	VerifyEmailTemplateID string
	InviteLinkTemplateID  string
}

Jump to

Keyboard shortcuts

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