Documentation
¶
Overview ¶
Package profiling owns the explicitly enabled, loopback-only host profiler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Enabled bool
Port int
// Diagnostic prevents recovered invalid preferences from enabling a listener.
Diagnostic string
}
func ResolveConfig ¶
func ResolveConfig(provider pkgsettings.Provider, rejectedIDs []string, environment string) (Config, string, error)
ResolveConfig reads prepared settings without mutating their saved values. Only malformed explicit environment input is a fatal configuration error.
type ServiceWrapper ¶
type ServiceWrapper struct{ Service *Service }
ServiceWrapper exposes runtime facts, never listener controls, to the frontend.
func (*ServiceWrapper) GetStatus ¶
func (s *ServiceWrapper) GetStatus() Status