Documentation
¶
Index ¶
Constants ¶
View Source
const (
EnablePprof = false
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct{}
func NewController ¶
func NewController() *Controller
func (*Controller) ExpVar ¶
func (c *Controller) ExpVar() gin.HandlerFunc
ExpVar exposes public expvar variables via HTTP at /debug/vars.
func (*Controller) MetricsPrometheus ¶
func (c *Controller) MetricsPrometheus() gin.HandlerFunc
MetricsPrometheus Prometheus Metrics
func (*Controller) PProf ¶
func (c *Controller) PProf() gin.HandlerFunc
PProf serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool.
Click to show internal directories.
Click to hide internal directories.