reporters

package
v0.0.0-...-7426b64 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const TestReportFilename = "analytics.log"

Variables

This section is empty.

Functions

func TestReportFilepath

func TestReportFilepath() string

Types

type GaCLIReporter

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

func NewGaCLIReporter

func NewGaCLIReporter(clientID string) (*GaCLIReporter, error)

func (*GaCLIReporter) AddOmitCategory

func (r *GaCLIReporter) AddOmitCategory(category string)

func (*GaCLIReporter) Event

func (r *GaCLIReporter) Event(category, action, source, label string, d *dimensions.Values) error

func (*GaCLIReporter) ID

func (r *GaCLIReporter) ID() string

type PixelReporter

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

func NewPixelReporter

func NewPixelReporter() *PixelReporter

func (*PixelReporter) Event

func (r *PixelReporter) Event(category, action, source, label string, d *dimensions.Values) error

func (*PixelReporter) ID

func (r *PixelReporter) ID() string

type TestLogEntry

type TestLogEntry struct {
	Category   string
	Action     string
	Source     string
	Label      string
	Dimensions *dimensions.Values
}

type TestReporter

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

func NewTestReporter

func NewTestReporter(path string) *TestReporter

func (*TestReporter) Event

func (r *TestReporter) Event(category, action, source, label string, d *dimensions.Values) error

func (*TestReporter) ID

func (r *TestReporter) ID() string

Jump to

Keyboard shortcuts

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