Documentation
¶
Index ¶
- type EventReporter
- func (m *EventReporter) AddUser(ctx context.Context, userID string, properties map[string]any) error
- func (m *EventReporter) Close()
- func (m *EventReporter) EventOccurred(ctx context.Context, event, userID string, properties map[string]any) error
- func (m *EventReporter) EventOccurredAnonymous(ctx context.Context, event, anonymousID string, properties map[string]any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventReporter ¶
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.
Click to show internal directories.
Click to hide internal directories.