FedP2P/dht/expvar.go

15 lines
372 B
Go
Raw Normal View History

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