package
0.0.0-20200628105730-7179885c4902
Repository: https://github.com/exlinc/golang-utils.git
Documentation: pkg.go.dev
# README
Utils for HTML over HTTP
This package offers several functions for sending HTML over HTTP
# Functions
BadRequestView returns a simple HTML page with the bad request error status code.
HTMLWriter provides a wrapper function to send HTML-string responses back over an http.ResponseWriter.
InternalServerErrorView returns a simple HTML page with the internal server error status code.
UnauthorizedErrorView returns a simple HTML page with the unauthorized status code.