Merge pull request #1043 from 442hz/fixup-dashboard-api

frps dashboard api: fixup getProxyStatsByType no data return
This commit is contained in:
fatedier 2019-01-15 19:37:47 +08:00 committed by GitHub
commit 5177570da4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,10 @@ func (collector *internalCollector) Mark(statsType StatsType, payload interface{
collector.newClient(v)
case *CloseClientPayload:
collector.closeClient(v)
case *NewProxyPayload:
collector.newProxy(v)
case *CloseProxyPayload:
collector.closeProxy(v)
case *OpenConnectionPayload:
collector.openConnection(v)
case *CloseConnectionPayload: