Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpvarToVal ¶
ExpvarToVal is a helper to extract the root value() from an expvar. Vars from the standard library (and expvar.Func) expose a Value() method that we prefer. For any other Var we fall back to its String(), which the expvar.Var contract requires to be valid JSON, rather than silently dropping it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.