add getters count show
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/zu1k/proxypool/pkg/provider"
|
||||
)
|
||||
|
||||
const version = "v0.3.0"
|
||||
const version = "v0.3.1"
|
||||
|
||||
var router *gin.Engine
|
||||
|
||||
@@ -23,6 +23,7 @@ func setupRouter() {
|
||||
router.GET("/", func(c *gin.Context) {
|
||||
c.HTML(http.StatusOK, "index.html", gin.H{
|
||||
"domain": config.Config.Domain,
|
||||
"getters_count": cache.GettersCount,
|
||||
"all_proxies_count": cache.AllProxiesCount,
|
||||
"ss_proxies_count": cache.SSProxiesCount,
|
||||
"ssr_proxies_count": cache.SSRProxiesCount,
|
||||
|
||||
Reference in New Issue
Block a user