torrent/dht/expvar.go

14 lines
314 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")
readUnmarshalError = expvar.NewInt("dhtReadUnmarshalError")
readQuery = expvar.NewInt("dhtReadQuery")
announceErrors = expvar.NewInt("dhtAnnounceErrors")
2015-06-29 09:36:08 +00:00
)