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

# Functions

Blacklist handles the request and returns the user blacklist.
Blacklisting handles the request and returns the user blacklisting.
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 user followers.
Friends handles the request and returns the user friends.
Info handles the request and returns all the basic information for the specified user.
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 user.
PostVotes handles the request and returns the post votes.
ProjectFollowing handles the request and returns the user following.
SetComment is the middleware that check if the required comment, on the user board, exists.
SetOther is the middleware that checks if the current logged user can see the required profile and if the required profile exists.
SetPm is the middleware that check if the required pm exists.
SetPost is the middleware that checks if the required post, on the user board, exists.
UserFollowing handles the request and returns the user following.
Whitelist handles the request and returns the user whitelist.
Whitelisting handles the request and returns the user whitelisting.