mocks

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeGoogleAnalytics

type FakeGoogleAnalytics struct {
	mock.Mock
}

func (*FakeGoogleAnalytics) GetProvider

type FakeGoogleAnalytics4

type FakeGoogleAnalytics4 struct {
	mock.Mock
}

func (*FakeGoogleAnalytics4) GetDimensionsAndMetrics added in v1.1.41

func (f *FakeGoogleAnalytics4) GetDimensionsAndMetrics(ctx context.Context) ([]*ga.DimensionMetadata, []*ga.MetricMetadata, error)

func (*FakeGoogleAnalytics4) GetMetrics added in v1.1.60

func (f *FakeGoogleAnalytics4) GetMetrics(
	_ context.Context,
	dateFrom string,
	dateTo string,
	metrics []string,
	dimensions []string,
) (map[uint64]map[string]interface{}, error)

func (*FakeGoogleAnalytics4) GetName

func (*FakeGoogleAnalytics4) RunReport

func (f *FakeGoogleAnalytics4) RunReport(ctx context.Context, runReportRequest *ga.RunReportRequest) (*ga.RunReportResponse, error)

Jump to

Keyboard shortcuts

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