feat: some refactoring

This commit is contained in:
2025-11-22 22:23:49 +03:00
parent a247e6213e
commit 51f30b516e
29 changed files with 1094 additions and 129 deletions

16
configs/server.toml Normal file
View File

@@ -0,0 +1,16 @@
# Server configuration
[server]
address = ":8080"
read_timeout = "10s"
write_timeout = "10s"
idle_timeout = "60s"
# Logging configuration
[logging]
level = "info"
format = "json"
output = "stdout"
# Request configuration
[request]
max_body_size = 10485760 # 10MB