test

package
v0.0.0-...-82c1c30 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0, Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DemoDistinctId string = "ABCDEF123456"
View Source
var DemoEvent structs.EventData = structs.EventData{
	Type:          "track",
	Time:          DemoTime,
	DistinctId:    DemoDistinctId,
	Properties:    DemoProperties,
	LibProperties: DemoLib,
	Project:       "default",
}
View Source
var DemoEventString string = "ViewProduct"
View Source
var DemoLib structs.LibProperties = structs.LibProperties{
	Lib:        "Golang",
	LibVersion: "1.7.5",
	LibMethod:  "code",
	AppVersion: "",
	LibDetail:  "##main.main.go##track.go##28",
}
View Source
var DemoProperties map[string]interface{} = map[string]interface{}{
	"$ip":            "1.1.1.1",
	"ProductId":      "123456",
	"ProductCatalog": "Laptop Computer",
	"IsAddedToFav":   true,
	"$is_login_id":   true,
	"$lib":           "Golang",
	"$lib_version":   "1.7.5",
}
View Source
var DemoTime int64 = 1523329458000

Functions

func MockServerRun

func MockServerRun()

Types

type EDL

type EDL []structs.EventData

Jump to

Keyboard shortcuts

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