mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-08 10:10:12 +08:00
Feature(restapi): add netstats
This commit is contained in:
@@ -43,6 +43,7 @@ func Start(addr, token string) error {
|
||||
r.Get("/logs", getLogs)
|
||||
r.Get("/traffic", traffic)
|
||||
r.Get("/version", version)
|
||||
r.Get("/netstats", getNetStats)
|
||||
r.Mount("/connections", connectionRouter())
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user