Files
bc-netts-energy/config.example.yaml
2025-11-03 19:26:48 +08:00

30 lines
526 B
YAML

server:
address: ":8080"
readTimeout: 10s
writeTimeout: 10s
idleTimeout: 60s
shutdownTimeout: 15s
netts:
apiKey: "replace-with-netts-api-key"
baseUrl: "https://netts.io"
realIp: "1.2.3.4"
callbackUrl: "https://your-domain.com/netts/callback"
httpTimeout: 15s
retry:
maxAttempts: 3
backoff: 2s
maxBackoff: 10s
energy:
autoAddHost: true
minCycles: 3
targetCycles: 10
minEnergyThreshold: 32000
postOrderWait: 3s
defaultAnalyzeValue: "100.00"
logging:
level: info
format: text