package
0.0.0-20241101034334-ca1fa88ca09a
Repository: https://github.com/openhpi/poseidon.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
HTTPLoggingMiddleware returns a http.Handler that logs different information about every request.
No description provided by the author
No description provided by the author
RemoveNewlineSymbol GOOD: remove newlines from user controlled input before logging.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

ContextHook logs the values referenced by the of dto.LoggedContextKeys.
ResponseWriter wraps the default http.ResponseWriter and catches the status code that is written.
SentryHook is a simple adapter that converts logrus entries into Sentry events.