Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModeOffline Mode = "offline" ModeOnline Mode = "online" EnvVarLogLevel = "DX_LOG_LEVEL" EnvVarTestMode = "DX_TEST_MODE" EnvVarForceOfflineMode = "DX_FORCE_OFFLINE_MODE" EnvVarDisableTracking = "DISABLE_DX_TRACKING" MinGHCLIVersion = "v2.50.0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DxTracker ¶
type DxTracker struct {
// contains filtered or unexported fields
}
DxTracker manages event tracking with automatic retry and offline support.
type Mode ¶
type Mode string
Mode determines whether events are sent immediately or stored for later transmission.
type NoOpTracker ¶
type NoOpTracker struct{}
type Tracker ¶
func NewDxTracker ¶
NewDxTracker initializes a tracker with automatic GitHub CLI integration for authentication. APITokenVariableName is the name of the GitHub repository variable containing the DX API token. Each DX project has its own token for tracking purposes.
Click to show internal directories.
Click to hide internal directories.