chore: initialize project with Go module and tooling

This commit is contained in:
2026-03-01 03:02:46 +08:00
commit 97ecd175a7
6 changed files with 320 additions and 0 deletions

13
config.example.yaml Normal file
View File

@@ -0,0 +1,13 @@
# VoicePaste config
# Environment variables override these values (prefix: none, direct mapping)
# 火山引擎豆包 ASR 配置
doubao:
app_key: "" # env: DOUBAO_APP_KEY
access_key: "" # env: DOUBAO_ACCESS_KEY
resource_id: "volc.seedasr.sauc.duration" # env: DOUBAO_RESOURCE_ID
# 服务配置
server:
port: 8443 # env: PORT
tls_auto: true # env: TLS_AUTO — 自动 TLS (AnyIP + 自签名降级)