Documentation ¶
Index ¶
- type AddFeedParams
- type CreateFeedFollowParams
- type CreateFeedFollowRow
- type CreatePostParams
- type CreateUserParams
- type DBTX
- type DeleteFeedFollowParams
- type Feed
- type FeedFollow
- type GetFeedByURLRow
- type GetFeedsFollowForUserRow
- type GetFeedsRow
- type GetNextFeedToFetchRow
- type GetPostsForUserParams
- type GetPostsForUserRow
- type MarkFeedFetchedParams
- type Post
- type Queries
- func (q *Queries) AddFeed(ctx context.Context, arg AddFeedParams) (Feed, error)
- func (q *Queries) CreateFeedFollow(ctx context.Context, arg CreateFeedFollowParams) (CreateFeedFollowRow, error)
- func (q *Queries) CreatePost(ctx context.Context, arg CreatePostParams) error
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
- func (q *Queries) DeleteFeedFollow(ctx context.Context, arg DeleteFeedFollowParams) error
- func (q *Queries) GetFeedByURL(ctx context.Context, url string) (GetFeedByURLRow, error)
- func (q *Queries) GetFeeds(ctx context.Context) ([]GetFeedsRow, error)
- func (q *Queries) GetFeedsFollowForUser(ctx context.Context, name string) ([]GetFeedsFollowForUserRow, error)
- func (q *Queries) GetNextFeedToFetch(ctx context.Context, name string) (GetNextFeedToFetchRow, error)
- func (q *Queries) GetPostsForUser(ctx context.Context, arg GetPostsForUserParams) ([]GetPostsForUserRow, error)
- func (q *Queries) GetUser(ctx context.Context, name string) (User, error)
- func (q *Queries) GetUsers(ctx context.Context) ([]string, error)
- func (q *Queries) MarkFeedFetched(ctx context.Context, arg MarkFeedFetchedParams) error
- func (q *Queries) ResetUsers(ctx context.Context) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddFeedParams ¶
type CreateFeedFollowParams ¶
type CreateFeedFollowRow ¶
type CreatePostParams ¶
type CreateUserParams ¶
type DeleteFeedFollowParams ¶
type FeedFollow ¶
type GetFeedByURLRow ¶
type GetFeedsRow ¶
type GetNextFeedToFetchRow ¶
type GetPostsForUserParams ¶
type GetPostsForUserRow ¶
type MarkFeedFetchedParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateFeedFollow ¶
func (q *Queries) CreateFeedFollow(ctx context.Context, arg CreateFeedFollowParams) (CreateFeedFollowRow, error)
func (*Queries) CreatePost ¶
func (q *Queries) CreatePost(ctx context.Context, arg CreatePostParams) error
func (*Queries) CreateUser ¶
func (*Queries) DeleteFeedFollow ¶
func (q *Queries) DeleteFeedFollow(ctx context.Context, arg DeleteFeedFollowParams) error
func (*Queries) GetFeedByURL ¶
func (*Queries) GetFeedsFollowForUser ¶
func (*Queries) GetNextFeedToFetch ¶
func (*Queries) GetPostsForUser ¶
func (q *Queries) GetPostsForUser(ctx context.Context, arg GetPostsForUserParams) ([]GetPostsForUserRow, error)
func (*Queries) MarkFeedFetched ¶
func (q *Queries) MarkFeedFetched(ctx context.Context, arg MarkFeedFetchedParams) error
Click to show internal directories.
Click to hide internal directories.