|
|
f547d8d75b
|
feat: integrate Viper for advanced configuration management
- Replace basic config loading with Viper framework
- Add support for multiple config sources (files, env vars, defaults)
- Add mapstructure tags for proper config binding
- Support JSON, YAML, and TOML config formats
- Add environment variable support with OA_ prefix
- Implement secure config loading with multiple search paths
- Maintain backward compatibility with existing config.json files
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-06-30 22:08:19 +12:00 |
|
Tarcisio Gruppi
|
cf543ca60b
|
Added log for database connection error
|
2019-01-11 17:23:44 -02:00 |
|
Tarcisio Gruppi
|
0f8d2d65d8
|
Added Config.Address to allow the server to bind to a different IP address
|
2019-01-11 16:16:56 -02:00 |
|
Tarcisio Gruppi
|
b1fdfcff37
|
Enable the server to run without SSL if not certificate is provided
|
2019-01-11 16:16:22 -02:00 |
|
Tarcisio Gruppi
|
82757607f8
|
Updated error logging in core/server.go
|
2019-01-11 16:15:49 -02:00 |
|
Tarcisio Gruppi
|
8413203504
|
Updated log messages for ./config.json operations
|
2019-01-11 15:49:21 -02:00 |
|
Tarcisio Gruppi
|
c407945109
|
Added Config.DatabaseAddress
This allows the server to connect to a MySQL server in a different
machine.
|
2019-01-11 15:13:42 -02:00 |
|
Patrick Nagurny
|
edffa4b7c6
|
add api prefix option
|
2018-11-08 11:35:11 -05:00 |
|
Patrick Nagurny
|
e2dd29259f
|
initial commit
|
2018-10-19 15:31:41 -04:00 |
|