frps dashboard api: fixup getProxyStatsByType no data return

pull/1043/head
荒野無燈 6 years ago
parent 649a2f2457
commit 0bd8f9cd9b

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

Loading…
Cancel
Save