Documentation ¶
Index ¶
Constants ¶
View Source
const CustomBufferSize = 100 * 1024 * 1024
View Source
const UnknownContentType = "Unknown Content-Type"
Variables ¶
This section is empty.
Functions ¶
func CaptureError ¶
func CaptureError(w http.ResponseWriter, err error) error
CaptureError accepts responseWriter interface and error(should not be nil).
Attaches the error to the response logger (logware)
func Logging ¶
func Logging(serviceName string) mux.MiddlewareFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.