feat(server): 服务器接线——世界调度、30s 定时存档、握手校验、关服 flush(smoke 验证通过)

This commit is contained in:
NianGao Dev
2026-08-15 23:01:51 +08:00
parent 5fa057632d
commit 07c086e127
3 changed files with 107 additions and 10 deletions

7
cmd/server/util.go Normal file
View File

@@ -0,0 +1,7 @@
// 服务器工具函数。
package main
import "strconv"
// fmtSprint 整数转字符串(构建监听地址用)。
func fmtSprint(v int) string { return strconv.Itoa(v) }