Browse Source

frps dashboard api: fixup getProxyStatsByType no data return

pull/1043/head
荒野無燈 6 years ago
parent
commit
0bd8f9cd9b
  1. 4
      server/stats/internal.go

4
server/stats/internal.go

@ -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:

Loading…
Cancel
Save