Documentation ¶
Overview ¶
Package data implements the data access for arboretum.
Index ¶
- type DB
- func (d *DB) Close() error
- func (d *DB) ReadAll(ctx context.Context) ([]Feed, error)
- func (d *DB) SetUpdatedAt(ctx context.Context, uri string, updatedAt time.Time) error
- func (d *DB) Subscribe(ctx context.Context, uri string) error
- func (d *DB) Subscriptions(ctx context.Context) (list []string, err error)
- func (d *DB) Unsubscribe(ctx context.Context, uri string) error
- func (d *DB) UpdateFeed(ctx context.Context, feed Feed) (err error)
- func (d *DB) UpdatedAt(ctx context.Context, uri string) (time.Time, error)
- type Feed
- type FeedItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) SetUpdatedAt ¶
func (*DB) Subscriptions ¶
Click to show internal directories.
Click to hide internal directories.