Skip to content

服务端配置

dispatch_serverconfig.yaml 配置文件示例:

yaml
# 服务端口
port: 8080

# 数据库配置
db:
  driver: sqlite
  source: data.db

# 鉴权配置
auth:
  secret: "your-secret-key" # 用于签名和校验的密钥
  
# 节点同步配置
sync:
  interval: 60s # 节点状态同步间隔

基于 MIT 许可发布