//
pkg.gl
Category
github.com/sagernet/tailscale
util
expvarx
package
1.79.0-mod
Repository:
https://github.com/sagernet/tailscale.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
0
Files
66 SLOC
#
Functions
NewSafeFunc
NewSafeFunc returns a new SafeFunc that wraps f.
#
Structs
SafeFunc
SafeFunc is a wrapper around [expvar.Func] that guards against unbounded call time and ensures that only a single call is in progress at any given time.