Documentation
¶
Index ¶
- func NewPostgresMigration(db *DB, migrationPath string) (*rf.Migration, error)
- type AuthStore
- type DB
- type FeedStore
- func (fs *FeedStore) CreateFeed(ctx context.Context, feed *rf.Feed) error
- func (fs *FeedStore) CreateUserFeed(ctx context.Context, feed *rf.Feed) error
- func (fs *FeedStore) DeleteFeed(ctx context.Context, userID, feedID int64) error
- func (fs *FeedStore) FindByURL(ctx context.Context, url string) (*rf.Feed, error)
- func (fs *FeedStore) FindUserFeedByID(ctx context.Context, userID, feedID int64) (*rf.Feed, error)
- func (fs *FeedStore) ListUserFeeds(ctx context.Context, userID int64) ([]rf.Feed, error)
- type Tx
- type UserStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthStore ¶
type AuthStore struct {
// contains filtered or unexported fields
}
func NewAuthStore ¶
func (*AuthStore) CreateAuthAndUser ¶
type FeedStore ¶
type FeedStore struct {
// contains filtered or unexported fields
}
func NewFeedStore ¶
func (*FeedStore) CreateFeed ¶
func (*FeedStore) CreateUserFeed ¶
func (*FeedStore) DeleteFeed ¶
func (*FeedStore) FindUserFeedByID ¶
Click to show internal directories.
Click to hide internal directories.