analytics

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Measurement string    `lp:"measurement"`
	Type        string    `lp:"tag,type"`
	Platform    string    `lp:"tag,platform"`
	Value       int64     `lp:"field,value"`
	Time        time.Time `lp:"timestamp"`
}

type InfluxAnalytics

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

func NewInfluxAnalytics

func NewInfluxAnalytics(database string) *InfluxAnalytics

func (*InfluxAnalytics) LogClick

func (a *InfluxAnalytics) LogClick(meta string, platform string, ctx context.Context) error

func (*InfluxAnalytics) LogInstall

func (a *InfluxAnalytics) LogInstall(meta string, platform string, ctx context.Context) error

Jump to

Keyboard shortcuts

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