MCPcopy
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 previouslyCalled bool
258
259 commonDimensions ghtelemetry.Dimensions
260 sampleRate int
261 sampleBucket byte
262
263 events []recordedEvent
264
265 disabled bool
266}
267
268func (s *service) Disable() {
269 s.mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected