analytics

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package analytics offers system analytics

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventManager

type EventManager struct {
	Enabled bool
	Handler Handler
}

EventManager isn't your normal party planner

func (*EventManager) Event

func (e *EventManager) Event(eventName string, properties ph.Properties)

Event function is used to send an event to the analytics handler

type Handler

type Handler interface {
	Event(eventName string, properties ph.Properties)
}

Handler is an interface which can be used to call various event / event association parameters provided by the posthog API

Directories

Path Synopsis
Package machine provides a basic wrapper for getting machine ID
Package machine provides a basic wrapper for getting machine ID
Package posthog contains posthog helper functions and utilities
Package posthog contains posthog helper functions and utilities

Jump to

Keyboard shortcuts

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