Versions in this module Expand all Collapse all v0 v0.2.0 Apr 20, 2023 Changes in this version + type Component struct + Stat stat.Stat + func NewComponent() *Component + func (*Component) Settings() *Config + func (c *Component) New(_ context.Context, conf *Config) (*Expvar, error) + func (c *Component) WithStat(s stat.Stat) *Component + type Config struct + Alloc string + Frees string + GoroutinesExists string + HeapAlloc string + HeapIdle string + HeapInuse string + HeapObjects string + HeapReleased string + HeapSys string + Lookups string + Mallocs string + NumGC string + PauseNS string + PauseTotalNS string + ReportInterval time.Duration + TotalAlloc string + func (*Config) Description() string + func (*Config) Name() string + type Expvar struct + GoroutinesExistsName string + Interval time.Duration + MemstatsAllocName string + MemstatsFreesName string + MemstatsHeapAllocName string + MemstatsHeapIdleName string + MemstatsHeapInuseName string + MemstatsHeapObjectsName string + MemstatsHeapReleasedName string + MemstatsHeapSysName string + MemstatsLookupsName string + MemstatsMallocsName string + MemstatsNumGCName string + MemstatsPauseNSName string + MemstatsPauseTotalNSName string + MemstatsTotalAllocName string + Stat stat.Stat + func Load(ctx context.Context, source settings.Source, c *Component) (*Expvar, error) + func (e *Expvar) Close() error + func (e *Expvar) Report()