MCPcopy Create free account
hub / github.com/cli/cli / service

Struct service

internal/telemetry/telemetry.go:254–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254type service struct {
255 mu sync.RWMutex
256 flush func(payload SendTelemetryPayload)
257 finished bool
258
259 commonDimensions ghtelemetry.Dimensions
260 sampleRate int
261 sampleBucket byte
262
263 events []*recordedEvent
264
265 disabled bool
266}
267
268// Disable suppresses all events in the invocation, including already recorded
269// events. It must be called before Finish.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected