database

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2017 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

func NewDatabase

func NewDatabase(dbPath string) (*Database, error)

func (*Database) GetPollerStatusForFeed

func (d *Database) GetPollerStatusForFeed(
	feedURL string,
) (latestPoll int64, latestItemTs int64, err error)

func (*Database) UpdatePollerStatusForFeed

func (d *Database) UpdatePollerStatusForFeed(
	feedURL string, latestPoll int64, latestItemTs int64,
) error

Jump to

Keyboard shortcuts

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