rss

package
v0.0.0-...-39147ba Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2016 License: BSD-2-Clause Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginRss

type PluginRss struct{}

func (*PluginRss) GetConfigType

func (p *PluginRss) GetConfigType() interface{}

func (*PluginRss) Name

func (p *PluginRss) Name() string

func (*PluginRss) NewTask

func (p *PluginRss) NewTask(Config interface{}) (PluginInterface.PluginTask, error)

func (*PluginRss) ResumeTask

func (p *PluginRss) ResumeTask(status []byte) (PluginInterface.PluginTask, error)

type RssController

type RssController struct {
	Url string `json:"url"`
	// contains filtered or unexported fields
}

func NewRssController

func NewRssController(url string) *RssController

func (*RssController) DumpTaskStatus

func (p *RssController) DumpTaskStatus() (Status []byte)

func (*RssController) FetchNew

func (p *RssController) FetchNew() ([]*Interface.Message, error)

func (*RssController) GetDelayBetweenCatchRound

func (p *RssController) GetDelayBetweenCatchRound() time.Duration

func (*RssController) GetFeed

func (p *RssController) GetFeed() (*rss.Feed, error)

func (*RssController) Hash

func (p *RssController) Hash() string

func (*RssController) Type

func (p *RssController) Type() string

Jump to

Keyboard shortcuts

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