https://github.com/ipfans/components
Components initializer
https://github.com/ipfans/components
Last synced: over 1 year ago
JSON representation
Components initializer
- Host: GitHub
- URL: https://github.com/ipfans/components
- Owner: ipfans
- License: mit
- Created: 2021-06-11T07:33:29.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T15:01:02.000Z (over 1 year ago)
- Last Synced: 2025-01-31T10:11:25.537Z (over 1 year ago)
- Language: Go
- Size: 127 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Components
The extensible components init for multipurpose. Based on some best practices in production.
## Configure
Configure defaults is `config.yml`.
```yaml
mysql:
dsn: user:pass@tcp(127.0.0.1:3306)/dbname?charset=utf8mb4&parseTime=True&loc=Local
redis:
addr: 127.0.0.1:6379
username:
password:
db: 0
nats:
server:
name:
```