lib

package
v0.0.0-...-a79c74c Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	*FeedReader
	// contains filtered or unexported fields
}

func NewApp

func NewApp(config Config) *App

func (*App) Run

func (a *App) Run() *App

func (*App) Shutdown

func (a *App) Shutdown()

type Author

type Author struct {
	Name  string
	Email string
}

Author describes the author of the published feed.

type Config

type Config struct {
	Feeds    []string
	Matchers []Matcher
	Feed
}

type Feed

type Feed struct {
	Title        string
	Description  string
	Link         string
	Author       Author
	LanguageCode string
	Copyright    string
	MaxItems     int
}

Feed describes the published feed.

type FeedReader

type FeedReader struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*FeedReader) GetFeed

func (fr *FeedReader) GetFeed() string

GetFeed returns the value set by the most recent Store.

type Matcher

type Matcher struct {
	Pattern      string
	MatchBreaker bool
	Negate       bool
}

Jump to

Keyboard shortcuts

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