ga_measurement

package
v0.0.0-...-5b4c5eb Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(
	httpClient *http.Client,
	eventLogger *event_logger.Logger,
) *client

func NewFakeClient

func NewFakeClient() *fakeClient

func NewGAMeasurementRepository

func NewGAMeasurementRepository(client Client) *gaMeasurementRepository

Types

type Client

type Client interface {
	SendEvent(
		ctx context.Context,
		values *model2.GAMeasurementEvent,
		category,
		action,
		label string,
		value int64,
		userID uint32,
	) error
}

Jump to

Keyboard shortcuts

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