Documentation
¶
Index ¶
Constants ¶
View Source
const DEFERRED_REQUEST_COMMAND = "send-deferred-request"
Variables ¶
This section is empty.
Functions ¶
func GetProcessDuration ¶
func GetProcessDuration() int64
GetProcessDuration returns the process duration
Types ¶
type Analytics ¶
type Analytics interface {
Enabled() bool
Disable() error
Enable() error
SendEvent(eventName string, eventProperties map[string]interface{}, userProperties map[string]interface{}) error
SendCommandEvent(commandArgs []string, commandError error, commandDuration int64) error
ReportPanics()
Identify(identifier string) error
SetVersion(version string)
SetIdentifyProvider(getIdentity func() string)
HandleDeferredRequest() error
}
Analytics is an interface for sending data to an analytics service
func GetAnalytics ¶
GetAnalytics retrieves the analytics client
Click to show internal directories.
Click to hide internal directories.