vars

package
v0.2.10-23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Each

func Each(fn func(key string, val expvar.Var))

func Float

func Float(name string) *expvar.Float

func Has

func Has(name string) bool

func Int

func Int(name string) *expvar.Int

func Map

func Map(name string) *expvar.Map

func Register

func Register(name string, data func() interface{})

func String

func String(name string) *expvar.String

Types

type Value

type Value func() interface{}

func (Value) String

func (f Value) String() (r string)

func (Value) Value

func (f Value) Value() interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL