Versions in this module Expand all Collapse all v0 v0.0.1 Aug 31, 2022 Changes in this version + var MemStats runtime.MemStats + type Config struct + ListenAddr string + Logger *zap.SugaredLogger + Stats *stats.Stats + type FrontendBackendStats struct + RequestDurationMs map[string][]float64 + RequestRate map[string][]float64 + ResponseDurationMs map[string][]float64 + TotalDurationMs map[string][]float64 + type FrontendStats struct + DurationMs map[string][]float64 + RequestRate map[string][]float64 + type SlowList struct + Backend string + Client string + Path string + RequestDurationMs int + ResponseDurationMs int + Server string + ServerConnCount int + TS time.Time + TotalDurationMs int + type WebBackend struct + func New(cfg Config, webFS fs.FS) (backend *WebBackend, err error) + func (b *WebBackend) Frontend(c *gin.Context) + func (b *WebBackend) Run() error + func (b *WebBackend) Slow(c *gin.Context) + func (b *WebBackend) V1FrontendBackendStats(c *gin.Context) + func (b *WebBackend) V1FrontendSlow(c *gin.Context) + func (b *WebBackend) V1FrontendStats(c *gin.Context) + func (b *WebBackend) V1FrontendTop(c *gin.Context) + func (b *WebBackend) V1GCStats(c *gin.Context) + func (b *WebBackend) V1TopRate(c *gin.Context)