analyticsmock

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventReporter

type EventReporter struct {
	mock.Mock
}

EventReporter represents a service that can collect customer data.

func (*EventReporter) AddUser

func (m *EventReporter) AddUser(ctx context.Context, userID string, properties map[string]any) error

AddUser implements the EventReporter interface.

func (*EventReporter) Close

func (m *EventReporter) Close()

Close implements the EventReporter interface.

func (*EventReporter) EventOccurred

func (m *EventReporter) EventOccurred(ctx context.Context, event, userID string, properties map[string]any) error

EventOccurred implements the EventReporter interface.

func (*EventReporter) EventOccurredAnonymous

func (m *EventReporter) EventOccurredAnonymous(ctx context.Context, event, anonymousID string, properties map[string]any) error

EventOccurredAnonymous implements the EventReporter interface.

Jump to

Keyboard shortcuts

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