lxd/endpoints/pprof.go
func (e *Endpoints) PprofAddress() string {
	e.mu.RLock()
	defer e.mu.RUnlock()

	listener := e.listeners[pprof]
	if listener == nil {
		return ""
	}

	return listener.Addr().String()
}
func (e *Endpoints) PprofAddress() string {
	e.mu.RLock()
	defer e.mu.RUnlock()

	listener := e.listeners[pprof]
	if listener == nil {
		return ""
	}

	return listener.Addr().String()
}
func ( e * Endpoints ) PprofAddress ( ) string { e . mu . RLock ( ) defer e . mu . RUnlock ( ) listener := e . listeners [ pprof ] if listener == nil { return " " } return listener . Addr ( ) . String ( ) }
// PprofAddress returns the network addresss of the pprof endpoint, or an empty string if there's no pprof endpoint
PprofAddress returns the network addresss of the pprof endpoint or an empty string if there s no pprof endpoint