Documentation ¶
Index ¶
- type APIManager
- type GoogleAnalytics4
- func (g *GoogleAnalytics4) GetDimensionsAndMetrics(ctx context.Context) ([]*ga.DimensionMetadata, []*ga.MetricMetadata, error)
- func (g *GoogleAnalytics4) GetName() Provider
- func (g *GoogleAnalytics4) RunReport(ctx context.Context, runReportRequest *ga.RunReportRequest) (*ga.RunReportResponse, error)
- type IAPIManager
- type IProvider
- type NewProviderFunc
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIManager ¶
func (*APIManager) GetProvider ¶
func (a *APIManager) GetProvider(name Provider) IProvider
type GoogleAnalytics4 ¶
type GoogleAnalytics4 struct {
// contains filtered or unexported fields
}
GoogleAnalytics4 https://developers.google.com/analytics/devguides/reporting/data/v1
func (*GoogleAnalytics4) GetDimensionsAndMetrics ¶ added in v1.1.41
func (g *GoogleAnalytics4) GetDimensionsAndMetrics(ctx context.Context) ([]*ga.DimensionMetadata, []*ga.MetricMetadata, error)
func (*GoogleAnalytics4) GetName ¶
func (g *GoogleAnalytics4) GetName() Provider
func (*GoogleAnalytics4) RunReport ¶
func (g *GoogleAnalytics4) RunReport(ctx context.Context, runReportRequest *ga.RunReportRequest) (*ga.RunReportResponse, error)
type IAPIManager ¶
func NewAPIManager ¶
func NewAPIManager(localConfigFolder string, configService config.IConfig, newProviderFunctions ...NewProviderFunc) (IAPIManager, error)
type IProvider ¶
type IProvider interface { GetName() Provider RunReport(ctx context.Context, runReportRequest *ga.RunReportRequest) (*ga.RunReportResponse, error) GetDimensionsAndMetrics(ctx context.Context) ([]*ga.DimensionMetadata, []*ga.MetricMetadata, error) }
type NewProviderFunc ¶
Click to show internal directories.
Click to hide internal directories.