Registry / web-framework / gin-contrib-expvar

gin-contrib-expvar

JSON →
library1.0.4gogounverified

Package expvar provides a middleware for the Gin web framework to expose expvar metrics.

go get github.com/gin-contrib/expvar
INSTALL
IMPORT
SIG · GIN-CONTRIB-EXPVAR
G
gin-contrib-expvar
web-frameworkgov1.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

expvar
github.com/gin-contrib/expvar

Register the expvar handler on a Gin router

package main import ( "github.com/gin-gonic/gin" "github.com/gin-contrib/expvar" ) func main() { r := gin.Default() r.GET("/debug/vars", expvar.Handler()) r.Run() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
12
OpenAI (training)
2
Amazon
1
Resources
gin-contrib-expvar — go get gin-contrib-expvar · libregistry