Files
hanfuit 0ced464168 启动器新增游戏设置页(频道开关+活动开关),窗口标题改名
- 服务端新增活动开关运行时配置与 GM 接口(GET/POST /dnf/gm/activity-switches),
  持久化到 Settings,接入月签到/周签到/PC房↔累计在线的实时下发
- 服务端新增频道开关 GM 接口(channel-switches),目录生成时过滤禁用频道
- channelcatalog/channelinfo 支持按禁用频道 ID 过滤目录与客户端脚本
- 启动器新增「游戏设置」页面:频道开关 Tab + 活动开关 Tab
- native.py/server.py 新增对应转发 API
- 窗口标题/页面 title/侧边栏「90轮回」统一改为「DNF90 灵狐小竹整合单机版」
2026-11-04 20:08:50 +08:00
..

Go server source

This module is the minimal source closure needed to build and test the current DNF90 service.

Key locations:

  • cmd/server/dnf90: product entry.
  • cmd/server/doctor: deployment preflight.
  • cmd/server/control: native BAT-facing deployment controller.
  • internal/app/dnf90: single composition root.
  • internal/services/dnfbridge: current-client transport and session implementation.
  • internal/modules/dnf: DNF domain modules.
  • internal/services/logic/dnf: MySQL repository assembly.
  • internal/platform: only framework packages reachable by the DNF90 build/tests.

Runtime assets and generated configs intentionally do not live in this module. Build from this directory:

go build -buildvcs=false -mod=readonly -trimpath -o ..\runtime\bin\DNF90Control.exe ./cmd/server/control
go build -buildvcs=false -mod=readonly -trimpath -o ..\runtime\bin\DNF90Server.exe ./cmd/server/dnf90
go build -buildvcs=false -mod=readonly -trimpath -o ..\runtime\bin\DNF90Doctor.exe ./cmd/server/doctor