Commit graph

14 commits

Author SHA1 Message Date
51b35036ab
Merge branch 'main' of git.mstar.dev:mstar/goutils 2025-06-06 17:08:03 +02:00
7881a55436
Add Server Side Events helper 2025-06-06 17:07:31 +02:00
4eb5d68fbf
Fix for the fix
I didn't actually write the found ip to the logging stack (or whatever
zerolog uses). This is now fixed
2025-05-12 15:35:45 +02:00
d7ed5b1eae
fix(webutils): Bad Ip logging
Fix the logging middleware only logging the last proxy's ip instead of
the ip of the actual request
2025-05-12 15:08:53 +02:00
506834c881
Extend logging middleware with more config options 2025-05-04 19:28:03 +02:00
4b8a62ba12
Add some more documentation and links to godoc# 2025-04-28 08:49:13 +02:00
ccf98c2f6e
Shit ton of tests 2025-04-24 15:59:15 +02:00
695b48ae91
More error returns added 2025-04-24 15:58:21 +02:00
2b737d056c
Add err returns 2025-04-24 15:58:06 +02:00
15887d9d2e
Add builder for Logging middleware
Builder offers option to add extra fields to log messages
2025-04-11 10:44:50 +02:00
4612ee993e
BREAKING CHANGE: Rename http module to webutils 2025-04-09 13:57:01 +02:00
9b6664399f
Fix header write order
Headers need to be written before status code
2025-04-09 13:11:12 +02:00
2bc73d2262
Add ProblemDetails support and deprecate HttpErr 2025-04-09 09:51:36 +02:00
18bf623114
Restructure all http related files
Moving all http related functions and helpers into a new http submodule
2025-03-04 13:56:57 +01:00