rss

package
v0.0.0-...-8b6083e Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author struct {
	Name  string `xml:"name"`
	Email string `xml:"email"`
}

type Content

type Content struct {
	Type    string `xml:"type,attr"`
	BaseURI string `xml:"base,attr"`
	Body    string `xml:",innerxml"`
}

type Entry

type Entry struct {
	ID      string   `xml:"id"`
	Title   string   `xml:"title"`
	Links   []Link   `xml:"link"`
	Summary string   `xml:"summary"`
	Content Content  `xml:"content"`
	Updated atomTime `xml:"updated"`
	Author  Author   `xml:"author"`
}

type Feed

type Feed struct {
	ID      string   `xml:"id"`
	Title   string   `xml:"title"`
	Links   []Link   `xml:"link"`
	Entries []Entry  `xml:"entry"`
	Updated atomTime `xml:"updated"`
}
type Link struct {
	HREF string `xml:"href,attr"`
	Rel  string `xml:"rel,attr"`
	Type string `xml:"type,attr"`
}

type RssProvider

type RssProvider struct{}

func (RssProvider) Description

func (r RssProvider) Description() string

func (RssProvider) Identifier

func (r RssProvider) Identifier() string

func (RssProvider) Name

func (r RssProvider) Name() string

func (RssProvider) Routes

func (RssProvider) Service

func (r RssProvider) Service() providers.Service

func (RssProvider) Templates

func (r RssProvider) Templates()

type RssService

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

func NewRssService

func NewRssService() *RssService

func (RssService) Start

func (s RssService) Start() chan providers.ServiceMessage

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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