Documentation ¶
Overview ¶
Package routing contains various functions related to HTTP routing
Package routing contains various functions related to HTTP routing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContentType ¶
getContentType returns the http header safe Content-Type for the requested path. If the requested path is not formatted correctly with an extension then the function will return the zero-value for a string and an error.
func HttpThrowStatus ¶
func HttpThrowStatus(code int, context http.ResponseWriter)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.