feat: adopt structured logging, add config via env (FORBIDDEN, SCAN_INTERVAL, TIMEOUT, WORKERS), introduce worker pool and improved kill logic with timeouts

This commit is contained in:
2025-08-07 11:40:00 +02:00
parent 33a65ffbff
commit 4fb751a268
3 changed files with 264 additions and 101 deletions

17
go.mod
View File

@@ -1,5 +1,18 @@
module hitman
go 1.23.0
go 1.23.6
require golang.org/x/sys v0.25.0
require (
git.site.quack-lab.dev/dave/cylogger v1.3.0
git.site.quack-lab.dev/dave/cyutils v1.1.3
golang.org/x/sys v0.25.0
)
require (
github.com/google/go-cmp v0.5.9 // indirect
github.com/hexops/valast v1.5.0 // indirect
golang.org/x/mod v0.7.0 // indirect
golang.org/x/time v0.12.0 // indirect
golang.org/x/tools v0.4.0 // indirect
mvdan.cc/gofumpt v0.4.0 // indirect
)