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

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
ServeError serves the given map as a JSON file (with the error string included) if wantsJSON is true, otherwise it serves a regular HTML error page.
ServeErrorPage shows a general error page if something goes wrong.
ServeJSON serves data as a JSON string.
ServeNotFound shows an error page if a requested file is not found.