后端主框架已达成

This commit is contained in:
2026-07-23 12:47:19 +08:00
parent c677eb6cfa
commit 17b9af9184
3 changed files with 19 additions and 0 deletions
+1
View File
@@ -46,6 +46,7 @@ func SetupRouter() *gin.Engine {
// 前端入口 // 前端入口
r.GET("/", func(c *gin.Context) { r.GET("/", func(c *gin.Context) {
c.File("./static/index.html") c.File("./static/index.html")
c.String(200, "frpc-console 后端已启动 🚀")
}) })
return r return r
BIN
View File
Binary file not shown.
+18
View File
@@ -0,0 +1,18 @@
serverAddr = "frp.whitetop.xyz"
serverPort = 9358
[auth]
token = "Lxh10020328"
[log]
to = "./frpc.log"
level = "info"
maxDays = 3
[transport]
tcpMux = true
tcpMuxKeepaliveInterval = 30
heartbeatInterval = 15
heartbeatTimeout = 70
poolCount = 8