Documentation ¶
Index ¶
- func BadRequestWithMessage(w http.ResponseWriter, message string)
- func MethodNotAllowed(w http.ResponseWriter)
- func NotFound(w http.ResponseWriter)
- func ServerError(w http.ResponseWriter, message string)
- func URLsNotFound(w http.ResponseWriter, urlsNotFound []files.FileInfo)
- func Unauthorized(w http.ResponseWriter, err error)
- func ZipKeyAsResponse(w http.ResponseWriter, zipKey string)
- func ZipStreamAsResponse(w http.ResponseWriter, srcFiles []files.FileInfo, zipName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequestWithMessage ¶
func BadRequestWithMessage(w http.ResponseWriter, message string)
func MethodNotAllowed ¶
func MethodNotAllowed(w http.ResponseWriter)
func NotFound ¶
func NotFound(w http.ResponseWriter)
func ServerError ¶
func ServerError(w http.ResponseWriter, message string)
func URLsNotFound ¶
func URLsNotFound(w http.ResponseWriter, urlsNotFound []files.FileInfo)
func Unauthorized ¶
func Unauthorized(w http.ResponseWriter, err error)
func ZipKeyAsResponse ¶
func ZipKeyAsResponse(w http.ResponseWriter, zipKey string)
func ZipStreamAsResponse ¶
func ZipStreamAsResponse(w http.ResponseWriter, srcFiles []files.FileInfo, zipName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.