Documentation ¶
Index ¶
- func GetAnonID() string
- func IsDebug() bool
- func IsEnabled() bool
- func SaveConfig() error
- func Send(event string, props ...map[string]any)
- func SendOnce(event string, props ...map[string]any)
- func SendSync(event string, props ...map[string]any)
- func SetDebug(debug bool) bool
- func SetEnabled(enabled bool) bool
- func SetShownWarning()
- func ShouldShowWarning() bool
- func UpdateConfig(anonID string, enabled, debug bool) (changed bool)
- type TelemetryMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveConfig ¶
func SaveConfig() error
func SetEnabled ¶
func SetShownWarning ¶
func SetShownWarning()
func ShouldShowWarning ¶
func ShouldShowWarning() bool
func UpdateConfig ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.