Commit Graph

7 Commits

Author SHA1 Message Date
dcarrillo 2e32a20f60 refactor: dependency injection instead of package globals (#57)
* refactor: export Settings type, Setup returns value

* refactor: resolver.Setup takes explicit Settings struct

* refactor: GetHeadersWithoutTrustedHeaders takes explicit header params

* refactor: server constructors take narrow config

* refactor: Router struct with handler methods, remove geoSvc global

* refactor: wire DI through main, remove setting.App references

* refactor: remove App global, use returned Settings

* refactor: update router tests for DI

* chore: fix lint issues — rename ServerTimeouts to Timeouts, fix shadowed variables
2026-07-21 18:37:21 +02:00
dcarrillo 00749ae529 Add tests for new disable-scan flag 2025-09-26 16:07:05 +02:00
dcarrillo b5fe362183 Make geo database usage optional (#39) 2025-01-02 20:13:41 +01:00
dcarrillo 19c72f94a5 Add experimental support for HTTP/3 (#8)
* Wait for service in integration tests instead of watching for a string

* Add http3 experimental support
2023-03-18 21:06:51 +01:00
dcarrillo 7c70abf07f Add feature to get the right client port when using a trusted proxy 2022-05-02 17:56:57 +02:00
dcarrillo 12da27ddab Add optional secure headers to responses 2022-04-02 18:12:31 +02:00
dcarrillo 8b5cccd744 Refactor setting module and add tests (#4) 2021-11-29 18:16:27 +01:00