Documentation ¶
Index ¶
- type CreateFeedFollowParams
- type CreateFeedParams
- type CreatePostParams
- type CreateUserParams
- type DBTX
- type Feed
- type FeedFollow
- type GetPostsByUserParams
- type Post
- type Queries
- func (q *Queries) CreateFeed(ctx context.Context, arg CreateFeedParams) (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, id uuid.UUID) error
- func (q *Queries) GetAllFeeds(ctx context.Context) ([]Feed, error)
- func (q *Queries) GetFeedFollowForUser(ctx context.Context, userID uuid.UUID) ([]FeedFollow, error)
- func (q *Queries) GetNextFeedsToFetch(ctx context.Context, limit int32) ([]Feed, error)
- func (q *Queries) GetPostsByUser(ctx context.Context, arg GetPostsByUserParams) ([]Post, error)
- func (q *Queries) GetUsersByAPIkey(ctx context.Context, apiKey string) (User, error)
- func (q *Queries) MarkFeedFetched(ctx context.Context, id uuid.UUID) 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 CreateFeedFollowParams ¶
type CreateFeedParams ¶
type CreatePostParams ¶
type CreateUserParams ¶
type FeedFollow ¶
type GetPostsByUserParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateFeed ¶
func (*Queries) CreateFeedFollow ¶
func (q *Queries) CreateFeedFollow(ctx context.Context, arg CreateFeedFollowParams) (FeedFollow, error)
func (*Queries) CreatePost ¶
func (*Queries) CreateUser ¶
func (*Queries) DeleteFeedFollow ¶
func (*Queries) GetFeedFollowForUser ¶
func (*Queries) GetNextFeedsToFetch ¶
func (*Queries) GetPostsByUser ¶
func (*Queries) GetUsersByAPIkey ¶
func (*Queries) MarkFeedFetched ¶
Click to show internal directories.
Click to hide internal directories.