Documentation
¶
Index ¶
- type CreateFeedParams
- type CreatePostParams
- type CreateUserParams
- type DBTX
- type Feed
- type FeedFollow
- type FollowExistsParams
- type FollowFeedParams
- type GetUsersPostsParams
- type Post
- type Queries
- func (q *Queries) CreateFeed(ctx context.Context, arg CreateFeedParams) (Feed, 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) FollowExists(ctx context.Context, arg FollowExistsParams) (FeedFollow, error)
- func (q *Queries) FollowFeed(ctx context.Context, arg FollowFeedParams) (FeedFollow, error)
- func (q *Queries) GetAllFeeds(ctx context.Context) ([]Feed, error)
- func (q *Queries) GetNextFeedsToFetch(ctx context.Context, limit int32) ([]Feed, error)
- func (q *Queries) GetUser(ctx context.Context, apikey string) (User, error)
- func (q *Queries) GetUserFeeds(ctx context.Context, userID uuid.UUID) ([]FeedFollow, error)
- func (q *Queries) GetUsersPosts(ctx context.Context, arg GetUsersPostsParams) ([]Post, error)
- func (q *Queries) IsUser(ctx context.Context, apikey string) (bool, error)
- func (q *Queries) UnfollowFeed(ctx context.Context, arg UnfollowFeedParams) error
- func (q *Queries) UpdateFeedFetchTime(ctx context.Context, url string) 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 CreateFeedParams ¶
type CreatePostParams ¶
type CreateUserParams ¶
type FeedFollow ¶
type FollowFeedParams ¶
type GetUsersPostsParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateFeed ¶
func (*Queries) CreatePost ¶
func (*Queries) CreateUser ¶
func (*Queries) FollowExists ¶
func (q *Queries) FollowExists(ctx context.Context, arg FollowExistsParams) (FeedFollow, error)
func (*Queries) FollowFeed ¶
func (q *Queries) FollowFeed(ctx context.Context, arg FollowFeedParams) (FeedFollow, error)
func (*Queries) GetNextFeedsToFetch ¶
func (*Queries) GetUserFeeds ¶
-
func (*Queries) GetUsersPosts ¶
func (*Queries) UnfollowFeed ¶
func (q *Queries) UnfollowFeed(ctx context.Context, arg UnfollowFeedParams) error
func (*Queries) UpdateFeedFetchTime ¶
Click to show internal directories.
Click to hide internal directories.