rest

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendErrorHTML added in v0.1.0

func SendErrorHTML(w http.ResponseWriter, r *http.Request, httpStatusCode int, err error, details string)

SendErrorHTML makes html body with provided template and responds with provided http status code, error code is not included in render as it is intended for UI developers and not for the users

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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