amplitude

package
v0.0.0-...-dfd24c6 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAmplitudeClient

func NewAmplitudeClient(authFunc func() (string, error), errorReporter error_reporting.ErrorReporter) ux2.Analytics

Types

type Client

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

func (*Client) AnalysisIsReady

func (c *Client) AnalysisIsReady(properties ux2.AnalysisIsReadyProperties)

func (*Client) AnalysisIsTriggered

func (c *Client) AnalysisIsTriggered(properties ux2.AnalysisIsTriggeredProperties)

func (*Client) Identify

func (c *Client) Identify()

func (*Client) Initialise

func (c *Client) Initialise()

func (*Client) IssueHoverIsDisplayed

func (c *Client) IssueHoverIsDisplayed(properties ux2.IssueHoverIsDisplayedProperties)

func (*Client) PluginIsInstalled

func (c *Client) PluginIsInstalled(_ ux2.PluginIsInstalledProperties)

func (*Client) ScanModeIsSelected

func (c *Client) ScanModeIsSelected(properties ux2.ScanModeIsSelectedProperties)

func (*Client) Shutdown

func (c *Client) Shutdown() error

type FakeSegmentClient

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

func (*FakeSegmentClient) Close

func (f *FakeSegmentClient) Close() error

func (*FakeSegmentClient) Enqueue

func (f *FakeSegmentClient) Enqueue(message segment.Message) error

type SegmentPlugin

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

Segment plugin allows events delivery to Segment via Amplitude Data.

func NewSegmentPlugin

func NewSegmentPlugin() *SegmentPlugin

func (*SegmentPlugin) Execute

func (plugin *SegmentPlugin) Execute(event *amplitude.Event)

Execute is called on each event instrumented

func (SegmentPlugin) Name

func (plugin SegmentPlugin) Name() string

func (*SegmentPlugin) Setup

func (plugin *SegmentPlugin) Setup(config amplitude.Config)

Setup is called on plugin installation

func (*SegmentPlugin) Shutdown

func (plugin *SegmentPlugin) Shutdown() error

func (SegmentPlugin) Type

func (plugin SegmentPlugin) Type() amplitude.PluginType

Jump to

Keyboard shortcuts

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