package
0.0.0-20231115083024-3d56ac8e3498
Repository: https://github.com/help-me-someone/scalable-p2-db.git
Documentation: pkg.go.dev

# Functions

CreateUser inserts a new entry into the User table.
CreateVideo inserts a new entry into the video table.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetTopPopularVideos returns the list of videos which are top ranked in terms of views.
No description provided by the author
GetUser returns the user with the given ID.
SearchUser returns the first user which matches the username specified.
No description provided by the author
No description provided by the author
GetUserVideos returns the list of videos the user owns.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Toggle like.
No description provided by the author
No description provided by the author
No description provided by the author
I think that this is horrible but this is the only easy way I can think of to be able to keep track of the video status with async jobs.
Let's just say that views can only go up...