newsblur

package
v0.0.0-...-aff28e3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Newsblur

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

func New

func New(config models.ServerConfig) *Newsblur

func (*Newsblur) GetFoldersWithStories

func (s *Newsblur) GetFoldersWithStories() (models.Folders, error)

func (*Newsblur) Login

func (s *Newsblur) Login() error

func (*Newsblur) Name

func (s *Newsblur) Name() models.ServerName

func (*Newsblur) SyncToServer

func (s *Newsblur) SyncToServer(syncToActions models.SyncToActions) error

type NewsblurClient

type NewsblurClient interface {
	Login(username, password string) (output *newsblur.LoginOutput, err error)

	ReaderFeeds() (output *newsblur.ReaderFeedsOutput, err error)
	ReaderUnreadStoryHashes() ([]string, error)
	ReaderStarredStoryHashes() ([]string, error)
	ReaderRiverStories_StoryHash(storyHash []string) (output *newsblur.StoriesOutput, err error)

	MarkStoryHashesAsRead(storyHash []string) (output *newsblur.MarkStoryHashesAsReadOutput, err error)
	MarkStoryHashAsUnread(storyHash string) (output *newsblur.MarkStoryHashAsUnreadOutput, err error)
	MarkStoryHashAsStarred(storyHash string) (output *newsblur.MarkStoryHashAsStarredOutput, err error)
	MarkStoryHashAsUnstarred(storyHash string) (output *newsblur.MarkStoryHashAsUnstarredOutput, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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