Documentation ¶
Index ¶
Constants ¶
View Source
const SampleRate = 5 * time.Second
SampleRate is how often it will refresh the report data
View Source
const SampleSize = 10
SampleSize is how many of xmit points we are keeping
Variables ¶
This section is empty.
Functions ¶
func Routes ¶
func Routes(router *gin.RouterGroup, dsConf *util.DSConf)
Routes sets up endpoints for peers.
func UpdateReport ¶ added in v0.0.3
func UpdateReport()
Types ¶
type Report ¶
type Report struct {
Report *dsnet.DsnetReport
}
Click to show internal directories.
Click to hide internal directories.