- 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
19 lines
227 B
Text
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
|