controllers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StartTime = time.Now()

Functions

func CloseThreadController

func CloseThreadController(c *gin.Context)

CloseThreadController will toggle a threads close bool

func DeleteImageTagController

func DeleteImageTagController(c *gin.Context)

DeleteImageTagController will delete an image tag

func DeletePostController

func DeletePostController(c *gin.Context)

DeletePostController will mark a post as deleted in the database

func DeleteTagController

func DeleteTagController(c *gin.Context)

DeleteTagController will delete a tag

func DeleteThreadController

func DeleteThreadController(c *gin.Context)

DeleteThreadController will mark a thread as deleted in the database

func ErrorController

func ErrorController(c *gin.Context)

Handles error messages for wrong routes

func PurgePostController

func PurgePostController(c *gin.Context)

PurgePostController will remove a deleted posts files and rows

func PurgeThreadController

func PurgeThreadController(c *gin.Context)

PurgeThreadController will remove deleted files and rows

func StatisticsController

func StatisticsController(c *gin.Context)

StatisticsController will get the visitor stats for a board

func StickyThreadController

func StickyThreadController(c *gin.Context)

StickyController will toggle a threads sticky bool

func UpdateTagController

func UpdateTagController(c *gin.Context)

UpdateTagController will update a tags properties

func UptimeController

func UptimeController(c *gin.Context)

Uptime controllers shows proc uptime

Types

This section is empty.

Jump to

Keyboard shortcuts

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