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 blacklistings.
Conversation handles the request and returns the user private conversation with the other user.
Conversations handles the request and returns the user private conversations.
DeleteBlacklisted handles the request and deletes the target user from the current user whitelist.
DeleteConversation handles the request and deletes the conversation.
DeletePm handles the request and deletes the pm.
DeletePost handles the request and deletes the post.
DeletePostBookmark handles the request and deletes the bookmark to the post.
DeletePostComment handles the request and deletes the comment.
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.
DeleteProjectFollowing handles the request and deletes the target project from the current list following list.
DeleteUserFollowing handles the request and deletes the target user from the current user following list.
DeleteWhitelisted handles the request and deletes the target user from the current user whitelist.
EditPm handles the request and edits the pm.
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.
Home handles the request and returns the user home.
Info handles the request and returns all the basic information for the specified user.
NewBlacklisted handles the request and creates and adds target user to current user whitelist.
NewPm handles the request and creates a new pm.
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.
NewProjectFollowing handles the request and creates and adds target to the following list of the current user.
NewUserFollowing handles the request and creates and adds target to the following list of the current user.
NewWhitelisted handles the request and creates and adds target user to current user whitelist.
Pm handles the request and returns the specified Private Message.
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 project following.
SetComment is the middleware that wraps user.SetComment middlware, thus: checks if the required post, on the user board, exists.
SetOther is the middleware that sets the context variable "other" to "me" therfore we can use the package user methods in the me package.
SetPm is the middleware that check if the required pm exists.
SetPost is the middleware that wraps user.SetPost middlware, thus: 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 whitelistings.