notification

package
v0.0.0-...-88be30c Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel interface {
	Notify([]scraping.Result) error
}

func NewEmailNotification

func NewEmailNotification() Channel

type Engine

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

func NewNotificationEngine

func NewNotificationEngine(dbPath string, c []Channel) *Engine

func (*Engine) Initialize

func (e *Engine) Initialize() error

func (*Engine) Notify

func (e *Engine) Notify(results []scraping.Result) error

Jump to

Keyboard shortcuts

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