package
0.0.0-20240414174107-f7ec041e7514
Repository: https://github.com/nerdzeu/nerdz-api.git
Documentation: pkg.go.dev

# Functions

DeletePost handles the request and deletes the specified post.
DeletePostBookmark handles the request and deletes the bookmark to the post.
DeletePostComment handles the request and deletes the specified comment on the speficied post.
DeletePostLock handles the request and deletes the lock to the post.
DeletePostLurk handles the request and deletes the lurk to the post.
DeletePostUserLock handles the request and deletes the lock for the notification of the target user on the specified post.
EditPost handles the request and edits the post.
EditPostComment handles the request and edits the post comment.
Followers handles the request and returns the project followers.
Info handles the request and returns all the basic information for the specified project.
Members handles the request and returns the project members.
NewPost handles the request and creates a new post.
NewPostBookmark handles the request and creates a new bookmark for the post.
NewPostComment handles the request and creates a new post.
NewPostCommentVote handles the request and creates a new vote on the user comment post.
NewPostLock handles the request and creates a new lock for the post.
NewPostLurk handles the request and creates a new lurk for the post.
NewPostUserLock handles the request and creates a new lock for the notification caused by the target user.
NewPostVote handles the request and creates a new vote for the post.
Post
Post handles the request and returns the single post required.
PostBookmarks handles the request and returns the post bookmarks.
PostComment handles the request and returns the single comment required.
PostComments handles the request and returns the specified list of comments.
PostCommentVotes handles the request and returns the comment votes.
PostLock handles the request and and a lock to the post.
PostLurks handles the request and returns the post lurks.
Posts handles the request and returns the required posts written by the specified project.
PostVotes handles the request and returns the post votes.
SetComment is the middleware that check if the required comment, on the project board, exists.
SetPost is the middleware that checks if the required post, on the project board, exists.
SetProject is the middleware that checks if the current logged user can see the required project and if the required project exists.