tracking

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusSuccess = "success"
	StatusError   = "error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AmplitudeKey string
	CLIVersion   string
	ConfigDir    string
	Enabled      bool
}

type Tracker

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

func New

func New(cfg Config) *Tracker

func (*Tracker) Shutdown

func (t *Tracker) Shutdown()

func (*Tracker) Track

func (t *Tracker) Track(commandPath, status, errMsg string, durationMs int64)

Jump to

Keyboard shortcuts

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