Documentation
¶
Index ¶
- func Blacklist() echo.HandlerFunc
- func Blacklisting() echo.HandlerFunc
- func Conversation() echo.HandlerFunc
- func Conversations() echo.HandlerFunc
- func DeleteBlacklisted() echo.HandlerFunc
- func DeleteConversation() echo.HandlerFunc
- func DeletePm() echo.HandlerFunc
- func DeletePost() echo.HandlerFunc
- func DeletePostBookmark() echo.HandlerFunc
- func DeletePostComment() echo.HandlerFunc
- func DeletePostLock() echo.HandlerFunc
- func DeletePostLurk() echo.HandlerFunc
- func DeletePostUserLock() echo.HandlerFunc
- func DeleteProjectFollowing() echo.HandlerFunc
- func DeleteUserFollowing() echo.HandlerFunc
- func DeleteWhitelisted() echo.HandlerFunc
- func EditPm() echo.HandlerFunc
- func EditPost() echo.HandlerFunc
- func EditPostComment() echo.HandlerFunc
- func Followers() echo.HandlerFunc
- func Friends() echo.HandlerFunc
- func Home() echo.HandlerFunc
- func Info() echo.HandlerFunc
- func NewBlacklisted() echo.HandlerFunc
- func NewPm() echo.HandlerFunc
- func NewPost() echo.HandlerFunc
- func NewPostBookmark() echo.HandlerFunc
- func NewPostComment() echo.HandlerFunc
- func NewPostCommentVote() echo.HandlerFunc
- func NewPostLock() echo.HandlerFunc
- func NewPostLurk() echo.HandlerFunc
- func NewPostUserLock() echo.HandlerFunc
- func NewPostVote() echo.HandlerFunc
- func NewProjectFollowing() echo.HandlerFunc
- func NewUserFollowing() echo.HandlerFunc
- func NewWhitelisted() echo.HandlerFunc
- func Pm() echo.HandlerFunc
- func Post() echo.HandlerFunc
- func PostBookmarks() echo.HandlerFunc
- func PostComment() echo.HandlerFunc
- func PostCommentVotes() echo.HandlerFunc
- func PostComments() echo.HandlerFunc
- func PostLock() echo.HandlerFunc
- func PostLurks() echo.HandlerFunc
- func PostVotes() echo.HandlerFunc
- func Posts() echo.HandlerFunc
- func ProjectFollowing() echo.HandlerFunc
- func SetComment() echo.MiddlewareFunc
- func SetOther() echo.MiddlewareFunc
- func SetPm() echo.MiddlewareFunc
- func SetPost() echo.MiddlewareFunc
- func UserFollowing() echo.HandlerFunc
- func Whitelist() echo.HandlerFunc
- func Whitelisting() echo.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Blacklist ¶
func Blacklist() echo.HandlerFunc
Blacklist handles the request and returns the user blacklist
func Blacklisting ¶
func Blacklisting() echo.HandlerFunc
Blacklisting handles the request and returns the user blacklistings
func Conversation ¶
func Conversation() echo.HandlerFunc
Conversation handles the request and returns the user private conversation with the other user
func Conversations ¶
func Conversations() echo.HandlerFunc
Conversations handles the request and returns the user private conversations
func DeleteBlacklisted ¶
func DeleteBlacklisted() echo.HandlerFunc
DeleteBlacklisted handles the request and deletes the target user from the current user whitelist
func DeleteConversation ¶
func DeleteConversation() echo.HandlerFunc
DeleteConversation handles the request and deletes the conversation
func DeletePost ¶
func DeletePost() echo.HandlerFunc
DeletePost handles the request and deletes the post
func DeletePostBookmark ¶
func DeletePostBookmark() echo.HandlerFunc
DeletePostBookmark handles the request and deletes the bookmark to the post
func DeletePostComment ¶
func DeletePostComment() echo.HandlerFunc
DeletePostComment handles the request and deletes the comment
func DeletePostLock ¶
func DeletePostLock() echo.HandlerFunc
DeletePostLock handles the request and deletes the lock to the post
func DeletePostLurk ¶
func DeletePostLurk() echo.HandlerFunc
DeletePostLurk handles the request and deletes the lurk to the post
func DeletePostUserLock ¶
func DeletePostUserLock() echo.HandlerFunc
DeletePostUserLock handles the request and deletes the lock for the notification of the target user on the specified post
func DeleteProjectFollowing ¶
func DeleteProjectFollowing() echo.HandlerFunc
DeleteProjectFollowing handles the request and deletes the target project from the current list following list
func DeleteUserFollowing ¶
func DeleteUserFollowing() echo.HandlerFunc
DeleteUserFollowing handles the request and deletes the target user from the current user following list
func DeleteWhitelisted ¶
func DeleteWhitelisted() echo.HandlerFunc
DeleteWhitelisted handles the request and deletes the target user from the current user whitelist
func EditPostComment ¶
func EditPostComment() echo.HandlerFunc
EditPostComment handles the request and edits the post comment
func Followers ¶
func Followers() echo.HandlerFunc
Followers handles the request and returns the user followers
func Friends ¶
func Friends() echo.HandlerFunc
Friends handles the request and returns the user friends
func Info ¶
func Info() echo.HandlerFunc
Info handles the request and returns all the basic information for the specified user
func NewBlacklisted ¶
func NewBlacklisted() echo.HandlerFunc
NewBlacklisted handles the request and creates and adds target user to current user whitelist
func NewPostBookmark ¶
func NewPostBookmark() echo.HandlerFunc
NewPostBookmark handles the request and creates a new bookmark for the post
func NewPostComment ¶
func NewPostComment() echo.HandlerFunc
NewPostComment handles the request and creates a new post
func NewPostCommentVote ¶
func NewPostCommentVote() echo.HandlerFunc
NewPostCommentVote handles the request and creates a new vote on the user comment post
func NewPostLock ¶
func NewPostLock() echo.HandlerFunc
NewPostLock handles the request and creates a new lock for the post
func NewPostLurk ¶
func NewPostLurk() echo.HandlerFunc
NewPostLurk handles the request and creates a new lurk for the post
func NewPostUserLock ¶
func NewPostUserLock() echo.HandlerFunc
NewPostUserLock handles the request and creates a new lock for the notification caused by the target user
func NewPostVote ¶
func NewPostVote() echo.HandlerFunc
NewPostVote handles the request and creates a new vote for the post
func NewProjectFollowing ¶
func NewProjectFollowing() echo.HandlerFunc
NewProjectFollowing handles the request and creates and adds target to the following list of the current user
func NewUserFollowing ¶
func NewUserFollowing() echo.HandlerFunc
NewUserFollowing handles the request and creates and adds target to the following list of the current user
func NewWhitelisted ¶
func NewWhitelisted() echo.HandlerFunc
NewWhitelisted handles the request and creates and adds target user to current user whitelist
func Pm ¶
func Pm() echo.HandlerFunc
Pm handles the request and returns the specified Private Message
func Post ¶
func Post() echo.HandlerFunc
Post handles the request and returns the single post required
func PostBookmarks ¶
func PostBookmarks() echo.HandlerFunc
PostBookmarks handles the request and returns the post bookmarks
func PostComment ¶
func PostComment() echo.HandlerFunc
PostComment handles the request and returns the single comment required
func PostCommentVotes ¶
func PostCommentVotes() echo.HandlerFunc
PostCommentVotes handles the request and returns the comment votes
func PostComments ¶
func PostComments() echo.HandlerFunc
PostComments handles the request and returns the specified list of comments
func PostLock ¶
func PostLock() echo.HandlerFunc
PostLock handles the request and and a lock to the post
func PostLurks ¶
func PostLurks() echo.HandlerFunc
PostLurks handles the request and returns the post lurks
func PostVotes ¶
func PostVotes() echo.HandlerFunc
PostVotes handles the request and returns the post votes
func Posts ¶
func Posts() echo.HandlerFunc
Posts handles the request and returns the required posts written by the specified user
func ProjectFollowing ¶
func ProjectFollowing() echo.HandlerFunc
ProjectFollowing handles the request and returns the project following
func SetComment ¶
func SetComment() echo.MiddlewareFunc
SetComment is the middleware that wraps user.SetComment middlware, thus: checks if the required post, on the user board, exists. Then check if the required comment exists and it's associated to that profile. If everything is ok, set "comment" = *UserPostComment in the current context
func SetOther ¶
func SetOther() echo.MiddlewareFunc
SetOther is the middleware that sets the context variable "other" to "me" therfore we can use the package user methods in the me package
func SetPm ¶
func SetPm() echo.MiddlewareFunc
SetPm is the middleware that check if the required pm exists. If it exists, set the "pm" = *Pm in the current context
func SetPost ¶
func SetPost() echo.MiddlewareFunc
SetPost is the middleware that wraps user.SetPost middlware, thus: checks if the required post, on the user board, exists. If it exists, set the "post" = *UserPost in the current context
func UserFollowing ¶
func UserFollowing() echo.HandlerFunc
UserFollowing handles the request and returns the user following
func Whitelist ¶
func Whitelist() echo.HandlerFunc
Whitelist handles the request and returns the user whitelist
func Whitelisting ¶
func Whitelisting() echo.HandlerFunc
Whitelisting handles the request and returns the user whitelistings
Types ¶
This section is empty.