email

package
v2.0.0-...-8a7f49b Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: AGPL-3.0-or-later Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Announcer

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

func New

func New(baseURL string, sender email.Sender, store NotificationsStore) Announcer

func (Announcer) AnnounceNewComment

func (a Announcer) AnnounceNewComment(rc screenjournal.ReviewComment)

func (Announcer) AnnounceNewReview

func (a Announcer) AnnounceNewReview(r screenjournal.Review)

type NotificationsStore

type NotificationsStore interface {
	ReadReviewSubscribers() ([]screenjournal.EmailSubscriber, error)
	ReadCommentSubscribers() ([]screenjournal.EmailSubscriber, error)
}

Jump to

Keyboard shortcuts

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