logware

package module
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MIT Imports: 17 Imported by: 0

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.

Jump to

Keyboard shortcuts

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