Accumulative stats for protocol and methods (#1144)

only data for pie chart currently
This commit is contained in:
gadotroee
2022-06-19 16:59:35 +03:00
committed by GitHub
parent 99cb0b4f44
commit 6f117d0a84
5 changed files with 157 additions and 12 deletions

View File

@@ -79,6 +79,10 @@ func GetGeneralStats(c *gin.Context) {
c.JSON(http.StatusOK, providers.GetGeneralStats())
}
func GetAccumulativeStats(c *gin.Context) {
c.JSON(http.StatusOK, providers.GetAccumulativeStats())
}
func GetCurrentResolvingInformation(c *gin.Context) {
c.JSON(http.StatusOK, holder.GetResolver().GetMap())
}