Documentation ¶
Index ¶
- func AddVote() web.HandlerFunc
- func AssignTag() web.HandlerFunc
- func CreateEditTag() web.HandlerFunc
- func CreatePost() web.HandlerFunc
- func CreateUser() web.HandlerFunc
- func DeleteComment() web.HandlerFunc
- func DeletePost() web.HandlerFunc
- func DeleteTag() web.HandlerFunc
- func GetComment() web.HandlerFunc
- func GetPost() web.HandlerFunc
- func ListComments() web.HandlerFunc
- func ListTags() web.HandlerFunc
- func ListUsers() web.HandlerFunc
- func ListVotes() web.HandlerFunc
- func PostComment() web.HandlerFunc
- func RemoveVote() web.HandlerFunc
- func SearchPosts() web.HandlerFunc
- func SendInvites() web.HandlerFunc
- func SendSampleInvite() web.HandlerFunc
- func SetResponse() web.HandlerFunc
- func Subscribe() web.HandlerFunc
- func UnassignTag() web.HandlerFunc
- func Unsubscribe() web.HandlerFunc
- func UpdateComment() web.HandlerFunc
- func UpdatePost() web.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddVote ¶ added in v0.16.0
func AddVote() web.HandlerFunc
AddVote adds current user to given post list of votes
func CreateEditTag ¶
func CreateEditTag() web.HandlerFunc
CreateEditTag creates a new tag on current tenant
func CreateUser ¶ added in v0.16.0
func CreateUser() web.HandlerFunc
CreateUser is used to create new users
func DeleteComment ¶ added in v0.16.0
func DeleteComment() web.HandlerFunc
DeleteComment deletes an existing comment by its ID
func DeletePost ¶
func DeletePost() web.HandlerFunc
DeletePost deletes an existing post of current tenant
func GetComment ¶ added in v0.17.0
func GetComment() web.HandlerFunc
GetComment returns a single comment by its ID
func GetPost ¶ added in v0.16.0
func GetPost() web.HandlerFunc
GetPost retrieves the existing post by number
func ListComments ¶
func ListComments() web.HandlerFunc
ListComments returns a list of all comments of a post
func ListVotes ¶ added in v0.17.0
func ListVotes() web.HandlerFunc
ListVotes returns a list of all votes on given post
func PostComment ¶
func PostComment() web.HandlerFunc
PostComment creates a new comment on given post
func RemoveVote ¶ added in v0.16.0
func RemoveVote() web.HandlerFunc
RemoveVote removes current user from given post list of votes
func SearchPosts ¶
func SearchPosts() web.HandlerFunc
SearchPosts return existing posts based on search criteria
func SendSampleInvite ¶
func SendSampleInvite() web.HandlerFunc
SendSampleInvite to current user's email
func SetResponse ¶
func SetResponse() web.HandlerFunc
SetResponse changes current post staff response
func Subscribe ¶
func Subscribe() web.HandlerFunc
Subscribe adds current user to list of subscribers of given post
func Unsubscribe ¶
func Unsubscribe() web.HandlerFunc
Unsubscribe removes current user from list of subscribers of given post
func UpdateComment ¶
func UpdateComment() web.HandlerFunc
UpdateComment changes an existing comment with new content
func UpdatePost ¶
func UpdatePost() web.HandlerFunc
UpdatePost updates an existing post of current tenant
Types ¶
This section is empty.