model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Article

type Article interface {
	Title() string
	Description() string
	Link() string
	PublishedAt() *time.Time
	MarkAsRead()
	MarkedAsRead() bool
	MarkAsUnread()
}

type Directory

type Directory interface {
	Title() string
	Sources() []Source
}

type Root

type Root interface {
	Title() string
	SetTitle(string)
	Directories() []Directory
	SetDirectories([]Directory)
	FetchSources()
	Duplicate() Root
}

type Source

type Source interface {
	Title() string
	XMLURL() string
	HTMLURL() string
	Fetch() error
	Articles() []Article
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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