From fe6c8e603bb5372b83a2798b8c642ba3652adfa2 Mon Sep 17 00:00:00 2001 From: zu1k Date: Fri, 21 Aug 2020 13:25:38 +0800 Subject: [PATCH] add crawl time show --- api/router.go | 1 + assets/html/index.html | 1 + internal/app/task.go | 4 ++++ internal/cache/vars.go | 2 ++ 4 files changed, 8 insertions(+) diff --git a/api/router.go b/api/router.go index 7c20a11..e8ab002 100644 --- a/api/router.go +++ b/api/router.go @@ -31,6 +31,7 @@ func setupRouter() { "vmess_proxies_count": cache.VmessProxiesCount, "trojan_proxies_count": cache.TrojanProxiesCount, "useful_proxies_count": cache.UsefullProxiesCount, + "last_crawl_time": cache.LastCrawlTime, }) }) diff --git a/assets/html/index.html b/assets/html/index.html index c613f86..cb63fee 100644 --- a/assets/html/index.html +++ b/assets/html/index.html @@ -113,6 +113,7 @@

vmess节点数量:{{ .vmess_proxies_count }}

trojan节点数量:{{ .trojan_proxies_count }}

可用节点数量:{{ .useful_proxies_count }}

+

最后更新时间:{{ .last_crawl_time }}


Clash

Clash配置文件:https://{{ .domain }}/clash/config