MCPcopy Index your code
hub / github.com/carrot-hu23/dst-admin-go

github.com/carrot-hu23/dst-admin-go @2.1.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.1.6 ↗ · + Follow
797 symbols 2,331 edges 136 files 54 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

dst-admin-go

饥荒联机版管理后台Go版本

Date: 2023/05/11

使用go编写的饥荒管理面板,部署简单,占用内存少,界面美观,操作简单,提供可视化界面操作房间配置和模组在线配置,支持多房间管理

部署

注意目录必须要有读写权限。

点击查看 部署文档

预览

在线预览地址 http://1.12.223.51:8082/ (admin 123456) 首页效果 首页效果 首页效果 首页效果 统计效果 面板效果 日志效果

运行

修改config.yml

#端口
port: 8082
database: dst-db

运行

go mod tidy
go run main.go

打包

window 打包

window 下打包 Linux 二进制

打开 cmd
set GOARCH=amd64
set GOOS=linux

go build

Extension points exported contracts — how you extend this code

Strategy (Interface)
(no doc) [6 implementers]
schedule/strategy.go
CheckStrategy (Interface)
(no doc) [3 implementers]
autoCheck/autoCheckManager.go
Func (FuncType)
(no doc)
cache/cache.go

Core symbols most depended-on inside this repo

GetClusterFromGin
called by 74
utils/clusterUtils/clusterUtils.go
CreateFileIfNotExists
called by 54
utils/fileUtils/fileUtls.go
Error
called by 54
vo/response.go
WriterTXT
called by 48
utils/fileUtils/fileUtls.go
Exists
called by 38
utils/fileUtils/fileUtls.go
ReadFile
called by 34
utils/fileUtils/fileUtls.go
Shell
called by 29
utils/shellUtils/shellUitls.go
Get
called by 28
cache/cache.go

Shape

Method 353
Function 284
Struct 155
Interface 2
Class 1
FuncType 1
TypeAlias 1

Languages

Go96%
Python4%

Modules by API surface

utils/dstUtils/dstUtils.go36 symbols
service/lobbyServer.go31 symbols
autoCheck/autoCheckManager.go24 symbols
api/gameLevel2Api.go24 symbols
mod/mod_download.go22 symbols
constant/dstConstant.go22 symbols
api/gameConsoleApi.go22 symbols
utils/dstUtils2/dstConst.go20 symbols
utils/fileUtils/fileUtls.go19 symbols
service/homeService.go19 symbols
collect/collect.go18 symbols
utils/systemUtils/SystemUtils.go17 symbols

For agents

$ claude mcp add dst-admin-go \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page