torrent/dht/expvar.go

15 lines
372 B
Go
Raw Normal View History

2015-06-29 09:36:08 +00:00
package dht
import (
"expvar"
)
var (
read = expvar.NewInt("dhtRead")
readBlocked = expvar.NewInt("dhtReadBlocked")
2015-08-05 22:59:30 +00:00
readNotKRPCDict = expvar.NewInt("dhtReadNotKRPCDict")
2015-06-29 09:36:08 +00:00
readUnmarshalError = expvar.NewInt("dhtReadUnmarshalError")
readQuery = expvar.NewInt("dhtReadQuery")
announceErrors = expvar.NewInt("dhtAnnounceErrors")
2015-06-29 09:36:08 +00:00
)