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")
|
2015-08-03 23:20:44 +08:00
|
|
|
announceErrors = expvar.NewInt("dhtAnnounceErrors")
|
2015-06-29 17:36:08 +08:00
|
|
|
)
|