 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const UnrecognisedUserID = "unrecognised"
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
	TrackEvent(ctx context.Context, eventName string, id string, tags Tags) error
}
    Client defines the interface for tracking events.
type CommandTracker ¶
type CommandTracker struct {
	// contains filtered or unexported fields
}
    CommandTracker is an implementation in charge of tracking Commands events sent from the CLI.
func NewCommandTracker ¶
func NewCommandTracker(client Client) *CommandTracker
NewCommandTracker creates a new CommandTracker instance.
type Tags ¶
Tags represents a collection of event tags.
func (Tags) WithEnvironmentInfo ¶
WithEnvironmentInfo adds environment information to the Tags.
func (Tags) WithRuntimeInfo ¶
WithRuntimeInfo adds runtime information to the Tags.
 Click to show internal directories. 
   Click to hide internal directories.