Documentation
¶
Index ¶
- type AddFeedParams
- type CreateFeedFollowParams
- type CreateFeedFollowRow
- type CreatePostParams
- type CreateUserParams
- type DBTX
- type Feed
- type FeedFollow
- type FeedListRow
- type FollowingLookupRow
- type GetPostsForUserParams
- type GetPostsForUserRow
- 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) (Post, error)
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
- func (q *Queries) FeedList(ctx context.Context) ([]FeedListRow, error)
- func (q *Queries) FeedLookup(ctx context.Context, url string) (Feed, error)
- func (q *Queries) FollowingLookup(ctx context.Context, userID uuid.UUID) ([]FollowingLookupRow, error)
- func (q *Queries) GetNextFeedToFetch(ctx context.Context) (Feed, 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) ([]User, error)
- func (q *Queries) MarkFeedFetched(ctx context.Context, id uuid.UUID) error
- func (q *Queries) Reset(ctx context.Context) error
- func (q *Queries) UnfollowFeed(ctx context.Context, arg UnfollowFeedParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type UnfollowFeedParams
- 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 FeedFollow ¶
type FeedListRow ¶
type FollowingLookupRow ¶
type GetPostsForUserParams ¶
type GetPostsForUserRow ¶
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 (*Queries) CreateUser ¶
func (*Queries) FeedLookup ¶
func (*Queries) FollowingLookup ¶
func (*Queries) GetNextFeedToFetch ¶
func (*Queries) GetPostsForUser ¶
func (q *Queries) GetPostsForUser(ctx context.Context, arg GetPostsForUserParams) ([]GetPostsForUserRow, error)
func (*Queries) MarkFeedFetched ¶
func (*Queries) UnfollowFeed ¶
func (q *Queries) UnfollowFeed(ctx context.Context, arg UnfollowFeedParams) error
type UnfollowFeedParams ¶
Click to show internal directories.
Click to hide internal directories.