feat: project scaffold, config loading, skeleton main

This commit is contained in:
2026-06-27 12:57:11 +08:00
commit 976ec3ca70
10 changed files with 4430 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
server:
port: 8080
admin_key: "admin-sk-change-me"
database:
host: "127.0.0.1"
port: 3306
user: "notify"
password: "${DB_PASSWORD:-notify}"
database: "notification"
redis:
host: "127.0.0.1"
port: 6379
password: ""
db: 0
smtp:
host: "smtp.example.com"
port: 587
user: "notify@example.com"
password: "${SMTP_PASSWORD:-}"
from: "Notification Service <notify@example.com>"
rate_limit:
default: 100