sendgrid

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserNotifier

func NewUserNotifier(client *Client) notifier.UserNotifier

Types

type Client

type Client struct {
	APIKey                  string
	PWResetTemplateID       string
	PWGHTemplateID          string
	VerifyEmailTemplateID   string
	ProjectInviteTemplateID string
	SenderEmail             string
}

type UserNotifier

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

func (*UserNotifier) SendEmailVerification

func (s *UserNotifier) SendEmailVerification(opts *notifier.SendEmailVerificationOpts) error

func (*UserNotifier) SendGithubRelinkEmail

func (s *UserNotifier) SendGithubRelinkEmail(opts *notifier.SendGithubRelinkEmailOpts) error

func (*UserNotifier) SendPasswordResetEmail

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

func (*UserNotifier) SendProjectInviteEmail

func (s *UserNotifier) SendProjectInviteEmail(opts *notifier.SendProjectInviteEmailOpts) error

Jump to

Keyboard shortcuts

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