me

package
v0.0.0-...-826f942 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2017 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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 DeletePm

func DeletePm() echo.HandlerFunc

DeletePm handles the request and deletes the pm

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 EditPm

func EditPm() echo.HandlerFunc

EditPm handles the request and edits the pm

func EditPost

func EditPost() echo.HandlerFunc

EditPost handles the request and edits the post

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 Home

func Home() echo.HandlerFunc

Home handles the request and returns the user home

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 NewPm

func NewPm() echo.HandlerFunc

NewPm handles the request and creates a new pm

func NewPost

func NewPost() echo.HandlerFunc

NewPost handles the request and creates a new post

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL