code: func StatMiddleware() gin.HandlerFunc {
  	return func(c *gin.Context) {
  		beginning, recorder := Stats.Begin(c.Writer)
  		c.Next()
  		Stats.End(beginning, stats.WithRecorder(recorder))
  	}
  }
docs: // StatMiddleware response time, status code count, etc.