Documentation ¶
Overview ¶
The expvar package provides a standardized interface to public variables, such as operation counters in servers. It exposes these variables via HTTP at /debug/vars in JSON format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Int ¶
type Int struct {
// contains filtered or unexported fields
}
Int is a 64-bit integer variable, and satisfies the Var interface.
type IntFunc ¶
type IntFunc func() int64
IntFunc wraps a func() int64 to create a value that satisfies the Var interface. The function will be called each time the Var is evaluated.
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
Map is a string-to-Var map variable, and satisfies the Var interface.
Click to show internal directories.
Click to hide internal directories.