Documentation
¶
Overview ¶
Package controllers provides controllers for handlers
Index ¶
- func AddTagController(c *gin.Context)
- func AvatarController(c *gin.Context)
- func EmailController(c *gin.Context)
- func ErrorController(c *gin.Context)
- func FavoritesController(c *gin.Context)
- func LoginController(c *gin.Context)
- func LogoutController(c *gin.Context)
- func NewTagController(c *gin.Context)
- func PasswordController(c *gin.Context)
- func RegisterController(c *gin.Context)
- func ReplyController(c *gin.Context)
- func ThreadController(c *gin.Context)
- func UptimeController(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTagController ¶
AddTagController handles the addition of a tag to an image
func AvatarController ¶
AvatarController handles updating a users avatar
func EmailController ¶
EmailController handles updating a users email
func ErrorController ¶
ErrorController handles error messages for wrong routes
func FavoritesController ¶
FavoritesController handles adding or removing an image from a user's favorites Acts as a toggle: adds if not favorited, removes if already favorited
func LogoutController ¶ added in v1.3.0
LogoutController deletes the user session
func NewTagController ¶
NewTagController handles the creation of new tags
func PasswordController ¶
PasswordController handles initial registration
func RegisterController ¶
RegisterController handles initial registration
func ReplyController ¶
ReplyController handles the creation of new threads
func ThreadController ¶
ThreadController handles the creation of new threads
Types ¶
This section is empty.