user

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 blacklisting

func DeletePost

func DeletePost() echo.HandlerFunc

DeletePost handles the request and deletes the specified 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 specified comment on the speficied post

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 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 Info

func Info() echo.HandlerFunc

Info handles the request and returns all the basic informations for the specified user

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 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 user following

func SetComment

func SetComment() echo.MiddlewareFunc

SetComment is the middleware that check if the required comment, on the user board, exists. If it exists, set the "comment" = *UserPostComment in the current context

func SetOther

func SetOther() echo.MiddlewareFunc

SetOther is the middleware that checks if the current logged user can see the required profile and if the required profile exists. On success sets the "other" = *User variable in the context

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 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 whitelisting

Types

This section is empty.

Jump to

Keyboard shortcuts

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