Commit Graph

6 Commits

Author SHA1 Message Date
DarthSim
1f6d007948 Rebuild headerwriter to server.ResponseWriter 2025-09-11 17:37:52 +06:00
DarthSim
2fcb39085e Move handler errors and path/signature splitting to handlers package 2025-09-11 14:10:21 +06:00
Victor Sokolov
2d9ad5c250 IMG-49: Introduced instance (#1512)
* Introduced instance

* Makefile changes
2025-09-09 15:11:37 +02:00
DarthSim
196b4dfc46 Mark non-exact routes via path 2025-08-26 21:05:04 +06:00
Victor Sokolov
6c9d26e8f5 IMG-54: NewDefaultConfig(), routes ordering exact/non-exact (#1504)
* NewDefaultConfig() + LoadFromEnv()

* Route order

* Changed route switch

* categoryConfig

* Use Default() in tests
2025-08-25 19:52:29 +02:00
Victor Sokolov
15bd00b221 IMG-51: router -> server ns, handlers ns, added error to handler ret val (#1494)
* Introduced server, handlers, error ret in handlerfn

* Server struct with tests

* replace checkErr with return
2025-08-20 14:31:11 +02:00