niko_trust/.gitignore
Niko Marmeladkov d957108ac1
feat: YAML config for all server tunables
- server.Config + DefaultConfig + LoadConfig/ParseConfig (yaml.v3)
- all operator knobs now configurable: listen addr, audience, data dir,
  log level, per-IP rate limits, per-subject quota, challenge/session TTLs,
  max body bytes
- server.New takes Config; flags (-addr/-audience/-data/-config) override the
  file; missing config.yaml falls back to defaults
- config.yaml.example committed as template; config.yaml git-ignored
- tests for config defaults/parsing/partial override
2026-08-25 21:11:49 +03:00

19 lines
227 B
Text

# Build artifacts
/client
/server
*.exe
*.test
# Editor / OS noise
*.swp
.DS_Store
# Python caches
__pycache__/
*.pyc
# Local build output
/niko_trust
# Local config (committed template is config.yaml.example)
/config.yaml