notifier

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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptyUserNotifier

type EmptyUserNotifier struct{}

func (*EmptyUserNotifier) SendEmailVerification

func (e *EmptyUserNotifier) SendEmailVerification(opts *SendEmailVerificationOpts) error

func (*EmptyUserNotifier) SendGithubRelinkEmail

func (e *EmptyUserNotifier) SendGithubRelinkEmail(opts *SendGithubRelinkEmailOpts) error

func (*EmptyUserNotifier) SendPasswordResetEmail

func (e *EmptyUserNotifier) SendPasswordResetEmail(opts *SendPasswordResetEmailOpts) error

func (*EmptyUserNotifier) SendProjectInviteEmail

func (e *EmptyUserNotifier) SendProjectInviteEmail(opts *SendProjectInviteEmailOpts) error

type SendEmailVerificationOpts

type SendEmailVerificationOpts struct {
	Email string
	URL   string
}

type SendGithubRelinkEmailOpts

type SendGithubRelinkEmailOpts struct {
	Email string
	URL   string
}

type SendPasswordResetEmailOpts

type SendPasswordResetEmailOpts struct {
	Email string
	URL   string
}

type SendProjectInviteEmailOpts

type SendProjectInviteEmailOpts struct {
	InviteeEmail      string
	URL               string
	Project           string
	ProjectOwnerEmail string
}

type UserNotifier

type UserNotifier interface {
	SendPasswordResetEmail(opts *SendPasswordResetEmailOpts) error
	SendGithubRelinkEmail(opts *SendGithubRelinkEmailOpts) error
	SendEmailVerification(opts *SendEmailVerificationOpts) error
	SendProjectInviteEmail(opts *SendProjectInviteEmailOpts) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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