chore: 添加设计资料和示例工程

This commit is contained in:
2026-07-26 17:35:04 +08:00
parent e85a515183
commit 8178cb0e92
415 changed files with 31714 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
Service: sample
Port: 12426
Databases:
Driver: postgres
Source:
- host=127.0.0.1 user=postgres password=change-me dbname=sample_test port=5432 sslmode=disable TimeZone=Asia/Shanghai
# Redis cache example. Replace the password and host before using outside local development.
Cache: redis://default:change-me@127.0.0.1:6379/0
# Enable microservice mode when this sample is deployed behind the service mesh.
OnMicroService: false
# Shared secret for microservice calls. Use a random value in real environments.
SecretKey: change-me-to-a-random-string
# Rpc:
# fts:
# Endpoint: https://api-v2.traingo.cn/fts/v2
# SecretKey: change-me-to-a-random-string
# Tracing and performance monitoring example.
# APM:
# Platform: elasticAPM
# Endpoint: http://127.0.0.1:14268/api/traces