telemetry

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package telemetry contains helper functions that allow you to instrument applications with telemetry

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventContext

type EventContext struct {
	Command   string
	EventName string
}

type MixpanelTelemetryTracker

type MixpanelTelemetryTracker struct {
	// contains filtered or unexported fields
}

func NewMixPanelTelemetryClient

func NewMixPanelTelemetryClient(url string, appName string, version string) MixpanelTelemetryTracker

func (MixpanelTelemetryTracker) TrackEvent

func (m MixpanelTelemetryTracker) TrackEvent(eventContext EventContext, eventProps map[string]interface{})

Jump to

Keyboard shortcuts

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