Documentation ¶
Index ¶
- Variables
- func CloseGroup(c *gin.Context)
- func CreateGroup(c *gin.Context)
- func JoinGroup(c *gin.Context)
- func KickFromGroup(c *gin.Context)
- func LeaveGroup(c *gin.Context)
- func ListGroups(c *gin.Context)
- func RetrieveGroup(c *gin.Context)
- func SignIn(c *gin.Context)
- func SignUp(c *gin.Context)
- func UpdateGroup(c *gin.Context)
- func UpdateGroupPassword(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BodyInternalServerError = schemas.BodyError{ Message: "An internal error occurred in the server"} BodyNotFound = schemas.BodyError{ Message: "The requested resource could not be found"} )
View Source
var TOKEN_SECRET = "1d62gCp6XcESjQh0oUwkHmoScQ14i4wmpyLgabxYwXb2EOllX4EJ1Ajs1pF5"
Functions ¶
func CloseGroup ¶
CloseGroup allows the user to mark a group as closed.
func KickFromGroup ¶
KickFromGroup allows the owner to remove a member.
func LeaveGroup ¶
LeaveGroup allows a user to leave a group the user is a member of.
func RetrieveGroup ¶
RetrieveGroup returns the group details given its ID.
func UpdateGroup ¶
UpdateGroup allows the user to update the group details.
func UpdateGroupPassword ¶
UpdateGroupPassword allows the user to update the group details.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.