Documentation
¶
Index ¶
Constants ¶
View Source
const ( DiagnosticTypeCPUProfile1MinuteV1 wdebug.DiagnosticType = "go.profile.cpu.1minute.v1" DiagnosticTypeHeapProfileV1 wdebug.DiagnosticType = "go.profile.heap.v1" DiagnosticTypeAllocsProfileV1 wdebug.DiagnosticType = "go.profile.allocs.v1" DiagnosticTypeTrace1MinuteV1 wdebug.DiagnosticType = "go.trace.1minute.v1" DiagnosticTypeGoroutinesV1 wdebug.DiagnosticType = "go.goroutines.v1" DiagnosticTypeGoroutinesV2 wdebug.DiagnosticType = "go.goroutines.v2" DiagnosticTypeMetricNamesV1 wdebug.DiagnosticType = "metric.names.v1" DiagnosticTypeSystemTimeV1 wdebug.DiagnosticType = "os.system.clock.v1" )
Variables ¶
This section is empty.
Functions ¶
func RegisterRoute ¶
func RegisterRoute(ctx context.Context, router wrouter.Router, sharedSecret refreshable.String, customDiagnosticHandlers ...wdebug.DiagnosticHandler) error
Types ¶
type DiagnosticHandler ¶
type DiagnosticHandler interface { wdebug.DiagnosticHandler }
DiagnosticHandler is deprecated in favor of the exported wdebug.DiagnosticHandler. Deprecated
Click to show internal directories.
Click to hide internal directories.