telemetry

package
v0.3.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(enabled bool, token string) error

Types

type Reporter

type Reporter interface {
	Telemetry(command string, fields ...TelemetryField)
}

func GetReporter

func GetReporter() Reporter

type TelemetryField added in v0.2.5

type TelemetryField func(*segmentio.Properties)

func AddField added in v0.2.5

func AddField(name string, value interface{}) TelemetryField

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL