godoc for http package + improving godoc for config and handlers packages

This commit is contained in:
Julien Neuhart
2018-03-30 17:41:34 +02:00
parent 700f88b14e
commit 6206452e39
3 changed files with 21 additions and 14 deletions

View File

@@ -21,8 +21,6 @@ func GetHandlersChain() http.Handler {
return alice.New(enforceContentLengthHandler, enforceContentTypeHandler, convertHandler, serveHandler).ThenFunc(clearHandler)
}
// requestHasNoContentError is raised when the request
// content length is 0.
type requestHasNoContentError struct{}
func (e *requestHasNoContentError) Error() string {