Versions in this module Expand all Collapse all v0 v0.1.0 Jun 18, 2023 Changes in this version + func Adjust(name string, val int64) + func Varz(w http.ResponseWriter, r *http.Request) + type Counter struct + func NewCounter(name string) *Counter + func (c *Counter) Adjust(val int64) + func (c *Counter) Increment() + func (c *Counter) Name() string + func (c *Counter) Reset() + func (c *Counter) Value() uint64 + type Gauge struct + func NewGauge(name string) *Gauge + func (g *Gauge) Adjust(val int64) + func (g *Gauge) Increment() + func (g *Gauge) Name() string + func (g *Gauge) Reset() + func (g *Gauge) Value() uint64 + type Metric interface + Adjust func(int64) + Increment func() + Name func() string + Reset func() + Value func() uint64