providers

package
v0.186.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const AppsflyerBaseURL = "https://api3.appsflyer.com"
View Source
const MixpanelBaseURL = "https://api.mixpanel.com"

Variables

View Source
var AppsflyerAppID = ""
View Source
var AppsflyerToken = ""
View Source
var MixpanelAppID = ""
View Source
var MixpanelToken = ""

Functions

This section is empty.

Types

type AppsflyerMetricProcessor

type AppsflyerMetricProcessor struct {
	// contains filtered or unexported fields
}

AppsflyerMetricProcessor implements MetricProcessor for Appsflyer

func NewAppsflyerMetricProcessor

func NewAppsflyerMetricProcessor(appID, secret, baseURL string) *AppsflyerMetricProcessor

NewAppsflyerMetricProcessor is a constructor for AppsflyerMetricProcessor

func (*AppsflyerMetricProcessor) GetAppID

func (p *AppsflyerMetricProcessor) GetAppID() string

func (*AppsflyerMetricProcessor) GetToken

func (p *AppsflyerMetricProcessor) GetToken() string

func (*AppsflyerMetricProcessor) Process

func (p *AppsflyerMetricProcessor) Process(metrics []common.Metric) error

Process processes an array of metrics and sends them to the Appsflyer API

type MixpanelMetricProcessor

type MixpanelMetricProcessor struct {
	// contains filtered or unexported fields
}

MixpanelMetricProcessor implements MetricProcessor for Mixpanel

func NewMixpanelMetricProcessor

func NewMixpanelMetricProcessor(appID, secret, baseURL string) *MixpanelMetricProcessor

NewMixpanelMetricProcessor is a constructor for MixpanelMetricProcessor

func (*MixpanelMetricProcessor) GetAppID

func (amp *MixpanelMetricProcessor) GetAppID() string

func (*MixpanelMetricProcessor) GetToken

func (amp *MixpanelMetricProcessor) GetToken() string

func (*MixpanelMetricProcessor) Process

func (amp *MixpanelMetricProcessor) Process(metrics []common.Metric) error

Process processes an array of metrics and sends them to the Mixpanel API

Jump to

Keyboard shortcuts

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