package
0.0.0-20240614095155-da5732d4417d
Repository: https://github.com/kjk/common.git
Documentation: pkg.go.dev

# README

github.com/kjk/common/loghttplogs http requests using siser to a file that rotates every hour (using filerate).

Optionally it can upload those hourly logs, compressed with brotli, to s3-compatible storage.

Then you can write code to analyze the logs.

# Functions

GetRequestIPAddress returns ip address of the client making the request, taking into account http proxies.
No description provided by the author
<dir>/httplog-2021-10-06_01.txt.br => apps/cheatsheet/httplog/2021/10-06/2021-10-06_01.txt.br return "" if <path> is in unexpected format.
WriteToRecord can be used outside of Logger.

# Structs

No description provided by the author