segment

package
v0.0.0-...-62a8273 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APPCTL_SEGMENT_WRITE_KEY string

Functions

func Close

func Close(c analytics.Client)

To close the event.

func SegmentClient

func SegmentClient() (analytics.Client, error)

func SendEvent

func SendEvent(c analytics.Client, name string, id string, status string, loginType string, errMessage string, data []constants.ListAppInfo) error

Sent event for appctl commands specific to an app.

func SendEventList

func SendEventList(c analytics.Client, name string, id string, status string, loginType string, errMessage string, data interface{}) error

func SendGroupTraits

func SendGroupTraits(c analytics.Client, id string, data map[string]interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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