rss

package
v0.0.0-...-07a3569 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	ChanTitle string
	Title     string
	Link      string
	Text      string
	GUID      string
	Item      gofeed.Item
	Feed      gofeed.Feed
}

Event from RSS

type Notify

type Notify struct {
	Feed         string
	Duration     time.Duration
	Timeout      time.Duration
	IncludeFirst bool
	// contains filtered or unexported fields
}

Notify on RSS change

func (*Notify) Go

func (n *Notify) Go(ctx context.Context) <-chan Event

Go starts notifier and returns events channel

func (*Notify) Shutdown

func (n *Notify) Shutdown()

Shutdown notifier

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳