analytics

package
v0.0.0-...-3bed8bd Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Functions

func Init

func Init(cfg config.AnalyticsConfig, log zerolog.Logger, briType BridgeType, trackFunc TrackImplementationFunc)

func IsEnabled

func IsEnabled() bool

func Track

func Track(event string, properties ...map[string]any)

Types

type BridgeType

type BridgeType string
const (
	BridgeTypeCloud BridgeType = "imessagego bridge"
	BridgeTypeIMA   BridgeType = "imessagego ima"
)

type TrackImplementationFunc

type TrackImplementationFunc func(event string, properties map[string]any) error

Jump to

Keyboard shortcuts

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