Documentation
¶
Index ¶
- type AddFeedParams
- type CreateFeedFollowParams
- type CreatePostParams
- type CreateUserParams
- type DBTX
- type DeleteFeedFollowParams
- type Feed
- type FeedFollow
- type GetAllFeedsRow
- type GetFeedFollowsForUserRow
- type GetFeedIDUserIDfromFollowsParams
- type GetFeedIDUserIDfromFollowsRow
- type GetFeedNamebyURLRow
- type GetFeedParams
- 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) (FeedFollow, 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) DeleteFeedFollow(ctx context.Context, arg DeleteFeedFollowParams) error
- func (q *Queries) GetAllFeeds(ctx context.Context) ([]GetAllFeedsRow, error)
- func (q *Queries) GetFeed(ctx context.Context, arg GetFeedParams) (string, error)
- func (q *Queries) GetFeedFollowsForUser(ctx context.Context, name string) ([]GetFeedFollowsForUserRow, error)
- func (q *Queries) GetFeedIDUserIDfromFollows(ctx context.Context, arg GetFeedIDUserIDfromFollowsParams) (GetFeedIDUserIDfromFollowsRow, error)
- func (q *Queries) GetFeedNamebyURL(ctx context.Context, url string) (GetFeedNamebyURLRow, error)
- func (q *Queries) GetNextFeedToFetch(ctx context.Context, name string) (string, error)
- func (q *Queries) GetPostsForUser(ctx context.Context, arg GetPostsForUserParams) ([]GetPostsForUserRow, error)
- func (q *Queries) GetUser(ctx context.Context, name string) (string, error)
- func (q *Queries) GetUserUUID(ctx context.Context, name string) (uuid.UUID, 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 CreatePostParams ¶
type CreateUserParams ¶
type DeleteFeedFollowParams ¶
type FeedFollow ¶
type GetAllFeedsRow ¶
type GetFeedNamebyURLRow ¶
type GetFeedParams ¶
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) (FeedFollow, error)
func (*Queries) CreatePost ¶
func (*Queries) CreateUser ¶
func (*Queries) DeleteFeedFollow ¶
func (q *Queries) DeleteFeedFollow(ctx context.Context, arg DeleteFeedFollowParams) error
func (*Queries) GetAllFeeds ¶
func (q *Queries) GetAllFeeds(ctx context.Context) ([]GetAllFeedsRow, error)
func (*Queries) GetFeedFollowsForUser ¶
func (*Queries) GetFeedIDUserIDfromFollows ¶
func (q *Queries) GetFeedIDUserIDfromFollows(ctx context.Context, arg GetFeedIDUserIDfromFollowsParams) (GetFeedIDUserIDfromFollowsRow, error)
func (*Queries) GetFeedNamebyURL ¶
func (*Queries) GetNextFeedToFetch ¶
func (*Queries) GetPostsForUser ¶
func (q *Queries) GetPostsForUser(ctx context.Context, arg GetPostsForUserParams) ([]GetPostsForUserRow, error)
func (*Queries) GetUserUUID ¶
func (*Queries) MarkFeedFetched ¶
func (q *Queries) MarkFeedFetched(ctx context.Context, arg MarkFeedFetchedParams) error
Click to show internal directories.
Click to hide internal directories.