package
4.0.0+incompatible
Repository: https://github.com/gochan-org/gochan.git
Documentation: pkg.go.dev

# Functions

DeleteCookie deletes the given cookie if it exists.
InitMinifier sets up the HTML/JS/JSON minifier if enabled in gochan.json.
No description provided by the author
MinifyTemplate minifies the given template ref (string or template.Template pointer) and data, and returns any errors.
MinifyWriter minifies the given writer/data (if enabled) and returns the number of bytes written and any errors.
No description provided by the author
ValidReferer checks to make sure that the incoming request is from the same domain (or if debug mode is enabled).