amplitude

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 8 Imported by: 19

Documentation

Index

Constants

View Source
const (
	ServerZoneUS = types.ServerZoneUS
	ServerZoneEU = types.ServerZoneEU

	PluginTypeBefore      = types.PluginTypeBefore
	PluginTypeEnrichment  = types.PluginTypeEnrichment
	PluginTypeDestination = types.PluginTypeDestination

	IdentifyEventType      = constants.IdentifyEventType
	GroupIdentifyEventType = constants.GroupIdentifyEventType
	RevenueEventType       = constants.RevenueEventType
)

Variables

View Source
var NewConfig = types.NewConfig

Functions

This section is empty.

Types

type BeforePlugin added in v0.0.6

type BeforePlugin = types.BeforePlugin

type Client

type Client interface {
	Track(event Event)
	Identify(identify Identify, eventOptions EventOptions)
	GroupIdentify(groupType string, groupName string, identify Identify, eventOptions EventOptions)
	SetGroup(groupType string, groupName []string, eventOptions EventOptions)
	Revenue(revenue Revenue, eventOptions EventOptions)

	Flush()
	Shutdown()

	Add(plugin Plugin)
	Remove(pluginName string)

	Config() Config
}

func NewClient

func NewClient(config Config) Client

type Config

type Config = types.Config

type DestinationPlugin

type DestinationPlugin = types.DestinationPlugin

type EnrichmentPlugin

type EnrichmentPlugin = types.EnrichmentPlugin

type Event

type Event = types.Event

type EventOptions

type EventOptions = types.EventOptions

type EventStorage added in v0.0.3

type EventStorage = types.EventStorage

type ExecuteResult added in v0.0.5

type ExecuteResult = types.ExecuteResult

type ExtendedDestinationPlugin

type ExtendedDestinationPlugin = types.ExtendedDestinationPlugin

type Identify

type Identify = types.Identify

type IdentityOp

type IdentityOp = types.IdentityOp

type IngestionMetadata added in v0.0.9

type IngestionMetadata = types.IngestionMetadata

type Logger

type Logger = types.Logger

type Plan

type Plan = types.Plan

type Plugin

type Plugin = types.Plugin

type PluginType

type PluginType = types.PluginType

type Revenue

type Revenue = types.Revenue

type ServerZone

type ServerZone = types.ServerZone

Directories

Path Synopsis
plugins

Jump to

Keyboard shortcuts

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