notification

package
v0.0.0-...-33d731b Latest Latest
Warning

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

Go to latest
Published: May 4, 2017 License: AGPL-3.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MailNotificationService

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

func NewMailNotificationService

func NewMailNotificationService(deferred *mgo.Collection, mailcfg *Mailconfig) *MailNotificationService

func (*MailNotificationService) AddMailToQueue

func (m *MailNotificationService) AddMailToQueue(rcpt, subject, text string)

func (*MailNotificationService) Quit

func (m *MailNotificationService) Quit()

type Mailconfig

type Mailconfig struct {
	Enabled       bool
	StartTLS      bool
	ServerAddress string
	Port          uint16
	Username      string
	Password      string
	EMailAddress  string
	Admin         string
	MaxAttempts   uint
}

func (*Mailconfig) Verify

func (m *Mailconfig) Verify() error

Jump to

Keyboard shortcuts

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