events

package
v0.0.0-...-081ecb4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAmplitudeClient

func GetAmplitudeClient() *amplitude.Client

func GetMixpanelClient

func GetMixpanelClient() mixpanel.Mixpanel

Types

type AuthenticatedTracker

type AuthenticatedTracker struct {
	// contains filtered or unexported fields
}

func NewAuthenticatedTracker

func NewAuthenticatedTracker(userID int) AuthenticatedTracker

func (AuthenticatedTracker) Track

func (t AuthenticatedTracker) Track(ctx context.Context, eventName string, props map[string]interface{})

func (AuthenticatedTracker) WithUserProps

func (t AuthenticatedTracker) WithUserProps(props map[string]interface{}) AuthenticatedTracker

Jump to

Keyboard shortcuts

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