project

package
v0.0.0-...-f7ec041 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: AGPL-3.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 project followers

func Info

func Info() echo.HandlerFunc

Info handles the request and returns all the basic information for the specified project

func Members

func Members() echo.HandlerFunc

Members handles the request and returns the project members

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 project

func SetComment

func SetComment() echo.MiddlewareFunc

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

func SetPost

func SetPost() echo.MiddlewareFunc

SetPost is the middleware that checks if the required post, on the project board, exists. If it exists, set the "post" = *ProjectPost in the current context

func SetProject

func SetProject() echo.MiddlewareFunc

SetProject is the middleware that checks if the current logged user can see the required project and if the required project exists. On success sets the "project" = *Project variable in the context

Types

This section is empty.

Jump to

Keyboard shortcuts

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