|
@@ -33,6 +33,11 @@ func LogList(c *gin.Context) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const templateText = `
|
|
const templateText = `
|
|
|
|
|
+<!DOCTYPE html>
|
|
|
|
|
+<head>
|
|
|
|
|
+ <meta charset="UTF-8">
|
|
|
|
|
+</head>
|
|
|
|
|
+<body>
|
|
|
<h1>go查询服务信息</h1>
|
|
<h1>go查询服务信息</h1>
|
|
|
<a href="{{.host}}/debug/update" title="点击后从自动构建服务拉取版本升级并重启GO服务, 请谨慎点击" target="_blank">点击升级到最新版本</a>
|
|
<a href="{{.host}}/debug/update" title="点击后从自动构建服务拉取版本升级并重启GO服务, 请谨慎点击" target="_blank">点击升级到最新版本</a>
|
|
|
<br><br>
|
|
<br><br>
|
|
@@ -53,6 +58,7 @@ redis : {{.redis}} <br>
|
|
|
<p>------------------------</p>
|
|
<p>------------------------</p>
|
|
|
{{.data}}
|
|
{{.data}}
|
|
|
<p>------------------------</p>
|
|
<p>------------------------</p>
|
|
|
|
|
+</body>
|
|
|
`
|
|
`
|
|
|
sFile := make([]string, 0)
|
|
sFile := make([]string, 0)
|
|
|
path := config.SerCfg.LogCfg.LogPath
|
|
path := config.SerCfg.LogCfg.LogPath
|