Documentation ¶
Index ¶
- func NewAmplitudeClient(authFunc func() (string, error), errorReporter error_reporting.ErrorReporter) ux2.Analytics
- type Client
- func (c *Client) AnalysisIsReady(properties ux2.AnalysisIsReadyProperties)
- func (c *Client) AnalysisIsTriggered(properties ux2.AnalysisIsTriggeredProperties)
- func (c *Client) Identify()
- func (c *Client) Initialise()
- func (c *Client) IssueHoverIsDisplayed(properties ux2.IssueHoverIsDisplayedProperties)
- func (c *Client) PluginIsInstalled(_ ux2.PluginIsInstalledProperties)
- func (c *Client) ScanModeIsSelected(properties ux2.ScanModeIsSelectedProperties)
- func (c *Client) Shutdown() error
- type FakeSegmentClient
- type SegmentPlugin
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) 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)
type FakeSegmentClient ¶
type FakeSegmentClient struct {
// contains filtered or unexported fields
}
func (*FakeSegmentClient) Close ¶
func (f *FakeSegmentClient) Close() 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
Click to show internal directories.
Click to hide internal directories.